Beige
Hex #F5F5DC, rgb(245 245 220). A yellow CSS named color.
Open in palette generatorBeige color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Beige
Beige is a very light muted yellow with the hex code #F5F5DC. In RGB it is made of 245 red, 245 green and 220 blue; in HSL its hue is 60°, with 56% saturation and 91% lightness. Its perceptual lightness (OKLCH L) is 96.4%.
It is a CSS named color, so you can write "beige" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.11:1 and against black 18.98:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Beige mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Beige 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Beige
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Beige with white and black. The readable text color on Beige is black.
On white1.11:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 0
On black18.98:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -100
Test any pair in the contrast checker.
Color blindness preview
How Beige appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#FAF3DB
- Deuteranopia#FAF4DD
- Tritanopia#F9F2EE
- Protanomaly#F9F3DB
- Deuteranomaly#F9F4DD
- Tritanomaly#F6F4E4
- Achromatopsia#F3F3F3
Colors similar to Beige
The closest named colors by perceptual difference (OKLab).
Use Beige in CSS and Tailwind
.beige {
color: beige; /* #F5F5DC */
background-color: rgb(245 245 220);
border-color: oklch(96.4% 0.033 107);
}/* Tailwind CSS v4: bg-beige-500, text-beige-700... */
@theme {
--color-beige-50: #F5F5DC;
--color-beige-100: #ECEBB1;
--color-beige-200: #DFDB64;
--color-beige-300: #C7C000;
--color-beige-400: #A29D00;
--color-beige-500: #8B8600;
--color-beige-600: #777300;
--color-beige-700: #605C00;
--color-beige-800: #4D4A00;
--color-beige-900: #3F3C00;
--color-beige-950: #181700;
}
<!-- or the exact color, no config -->
<div class="bg-[#F5F5DC] text-[#000000]">…</div>