Beige hex and RGB values
The CSS keyword beige gives you #F5F5DC, or rgb(245, 245, 220).
Beige is a pale, warm background for reading pages. Pair it with a dark text color, then check borders and controls separately from the text.
Compare black and white text
| Text / background | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| #000000 / #F5F5DC | 18.98:1 | Pass | Pass | Pass | Pass |
| #FFFFFF / #F5F5DC | 1.11:1 | Fail | Fail | Fail | Fail |
Black text has the higher contrast on beige: 18.98:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.
Try beige in a layout
The CSS sample below uses black text on #F5F5DC. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try beige as the text color; the ratio stays the same.
.sample {
background: #F5F5DC;
color: #000000;
}Copy the exact color
Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.