#F2D577#F2D577
#F2D577 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.119 H 92.7°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D577 |
|---|---|
| RGB | rgb(242, 213, 119) |
| HSL | hsl(46, 83%, 71%) |
| HSV | hsv(46, 51%, 95%) |
| CMYK | cmyk(0%, 12%, 50.8%, 5.1%) |
| CIE-LAB | lab(85.91, -1.59, 49.77) |
| CIE-LCH | lch(85.91, 49.80, 91.83°) |
| OKLab | oklab(87.8% -0.0055 0.1184) |
| OKLCH | oklch(87.8% 0.119 92.7) |
| XYZ | xyz(63.7442, 67.8005, 27.1783) |
| Luminance | 0.6780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 1.86
Sandy
#F1DA7A
ΔE00 1.98
Light Mustard
#F7D560
ΔE00 3.18
Sand (survey)
#E2CA76
ΔE00 3.32
Pale Gold
#FDDE6C
ΔE00 3.34
Maize
#F4D054
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D577 #7794F2
analogous
#F29777 #F2D577 #D1F277
triadic
#F2D577 #77F2D5 #D577F2
tetradic
#F2D577 #77F297 #7794F2 #F277D1
square
#F2D577 #77F297 #7794F2 #F277D1
split-complementary
#F2D577 #77D1F2 #9777F2
monochromatic
#DAAB15 #EDC43F #F2D577 #F7E6AF #FCF6E3
Accessibility & contrast
On white
1.44
#F2D577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.56
#F2D577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D577
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D577 | 1.00 | 1.44 | 14.56 | 14.56 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D26F
Deuteranopia (green-blind)
#EEDB7B
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d577; /* rgb */ color: rgb(242, 213, 119); /* oklch */ color: oklch(87.8% 0.119 92.7);
Tailwind
colors: {
custom: {
50: '#f9e1a0',
500: '#f2d577',
950: '#000000',
},
}SCSS
$custom: #f2d577; $custom-light: #f9e1a0; $custom-dark: #000000;
JSON
{
"hex": "#f2d577",
"rgb": {
"r": 242,
"g": 213,
"b": 119
},
"hsl": {
"h": 45.854,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.87803,
"c": 0.11851,
"h": 92.7
},
"luminance": 0.67798
}Semantic roles & 50–950 ramp
primary
#F2D577
secondary
#4162CC
accent
#3ADF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480