#F2DF92#F2DF92
#F2DF92 is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.099 H 96.0°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF92 |
|---|---|
| RGB | rgb(242, 223, 146) |
| HSL | hsl(48, 79%, 76%) |
| HSV | hsv(48, 40%, 95%) |
| CMYK | cmyk(0%, 7.9%, 39.7%, 5.1%) |
| CIE-LAB | lab(88.79, -4.08, 40.08) |
| CIE-LCH | lch(88.79, 40.29, 95.82°) |
| OKLab | oklab(90.2% -0.0102 0.0983) |
| OKLCH | oklch(90.2% 0.099 96) |
| XYZ | xyz(68.1954, 73.7301, 37.8276) |
| Luminance | 0.7373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.40
Khaki (CSS)
#F0E68C
ΔE00 3.57
Wheat (survey)
#FBDD7E
ΔE00 3.96
Vanilla
#F3E5AB
ΔE00 4.11
Light Tan
#FBEEAC
ΔE00 4.11
Dark Cream
#FFF39A
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF92 #92A5F2
analogous
#F2AF92 #F2DF92 #D5F292
triadic
#F2DF92 #92F2DF #DF92F2
tetradic
#F2DF92 #92F2AF #92A5F2 #F292D5
square
#F2DF92 #92F2AF #92A5F2 #F292D5
split-complementary
#F2DF92 #92D5F2 #AF92F2
monochromatic
#E5BF25 #EBCF5B #F2DF92 #F9EFC9 #FCF7E4
Accessibility & contrast
On white
1.33
#F2DF92 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.75
#F2DF92 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF92
15.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF92 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF92 | 1.00 | 1.33 | 15.75 | 15.75 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EEDB8C
Deuteranopia (green-blind)
#F3E295
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2df92; /* rgb */ color: rgb(242, 223, 146); /* oklch */ color: oklch(90.2% 0.099 96.0);
Tailwind
colors: {
custom: {
50: '#f8e8b3',
500: '#f2df92',
950: '#000000',
},
}SCSS
$custom: #f2df92; $custom-light: #f8e8b3; $custom-dark: #000000;
JSON
{
"hex": "#f2df92",
"rgb": {
"r": 242,
"g": 223,
"b": 146
},
"hsl": {
"h": 48.125,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.90202,
"c": 0.09878,
"h": 96
},
"luminance": 0.73728
}Semantic roles & 50–950 ramp
primary
#F2DF92
secondary
#5971CF
accent
#34DB0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481