#F2DF85#F2DF85
#F2DF85 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.113 H 97.7°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF85 |
|---|---|
| RGB | rgb(242, 223, 133) |
| HSL | hsl(50, 81%, 74%) |
| HSV | hsv(50, 45%, 95%) |
| CMYK | cmyk(0%, 7.9%, 45%, 5.1%) |
| CIE-LAB | lab(88.61, -5.40, 46.30) |
| CIE-LCH | lch(88.61, 46.61, 96.65°) |
| OKLab | oklab(90% -0.0151 0.1117) |
| OKLCH | oklch(90% 0.113 97.7) |
| XYZ | xyz(67.2410, 73.3484, 32.8014) |
| Luminance | 0.7335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.73
Khaki (CSS)
#F0E68C
ΔE00 2.77
Wheat (survey)
#FBDD7E
ΔE00 3.08
Yellow Tan
#FFE36E
ΔE00 4.36
Pale Gold
#FDDE6C
ΔE00 4.42
Dark Cream
#FFF39A
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF85 #8598F2
analogous
#F2A885 #F2DF85 #CEF285
triadic
#F2DF85 #85F2DF #DF85F2
tetradic
#F2DF85 #85F2A8 #8598F2 #F285CE
square
#F2DF85 #85F2A8 #8598F2 #F285CE
split-complementary
#F2DF85 #85CEF2 #A885F2
monochromatic
#E4C118 #ECD04E #F2DF85 #F8EEBC #FCF8E3
Accessibility & contrast
On white
1.34
#F2DF85 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.67
#F2DF85 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF85
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF85 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF85 | 1.00 | 1.34 | 15.67 | 15.67 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFDB7E
Deuteranopia (green-blind)
#F4E189
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df85; /* rgb */ color: rgb(242, 223, 133); /* oklch */ color: oklch(90.0% 0.113 97.7);
Tailwind
colors: {
custom: {
50: '#f8e8aa',
500: '#f2df85',
950: '#000000',
},
}SCSS
$custom: #f2df85; $custom-light: #f8e8aa; $custom-dark: #000000;
JSON
{
"hex": "#f2df85",
"rgb": {
"r": 242,
"g": 223,
"b": 133
},
"hsl": {
"h": 49.541,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.9,
"c": 0.11268,
"h": 97.7
},
"luminance": 0.73346
}Semantic roles & 50–950 ramp
primary
#F2DF85
secondary
#4E64CE
accent
#2DDD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481