#F2DF7D#F2DF7D
#F2DF7D is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.121 H 98.6°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF7D |
|---|---|
| RGB | rgb(242, 223, 125) |
| HSL | hsl(50, 82%, 72%) |
| HSV | hsv(50, 48%, 95%) |
| CMYK | cmyk(0%, 7.9%, 48.3%, 5.1%) |
| CIE-LAB | lab(88.51, -6.14, 50.05) |
| CIE-LCH | lch(88.51, 50.43, 96.99°) |
| OKLab | oklab(89.89% -0.0181 0.1195) |
| OKLCH | oklch(89.89% 0.121 98.6) |
| XYZ | xyz(66.7093, 73.1357, 30.0007) |
| Luminance | 0.7313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.51
Khaki (CSS)
#F0E68C
ΔE00 3.03
Wheat (survey)
#FBDD7E
ΔE00 3.15
Yellow Tan
#FFE36E
ΔE00 3.50
Pale Gold
#FDDE6C
ΔE00 3.72
Sand Yellow
#FCE166
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF7D #7D90F2
analogous
#F2A47D #F2DF7D #CBF27D
triadic
#F2DF7D #7DF2DF #DF7DF2
tetradic
#F2DF7D #7DF2A4 #7D90F2 #F27DCB
square
#F2DF7D #7DF2A4 #7D90F2 #F27DCB
split-complementary
#F2DF7D #7DCBF2 #A47DF2
monochromatic
#DEBE16 #ECD145 #F2DF7D #F8EDB5 #FCF8E3
Accessibility & contrast
On white
1.34
#F2DF7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.63
#F2DF7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF7D
15.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF7D | 1.00 | 1.34 | 15.63 | 15.63 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DA75
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df7d; /* rgb */ color: rgb(242, 223, 125); /* oklch */ color: oklch(89.9% 0.121 98.6);
Tailwind
colors: {
custom: {
50: '#f8e8a4',
500: '#f2df7d',
950: '#000000',
},
}SCSS
$custom: #f2df7d; $custom-light: #f8e8a4; $custom-dark: #000000;
JSON
{
"hex": "#f2df7d",
"rgb": {
"r": 242,
"g": 223,
"b": 125
},
"hsl": {
"h": 50.256,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.89887,
"c": 0.12083,
"h": 98.6
},
"luminance": 0.73133
}Semantic roles & 50–950 ramp
primary
#F2DF7D
secondary
#465CCD
accent
#2ADE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480