#F2D476#F2D476
#F2D476 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.119 H 92.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D476 |
|---|---|
| RGB | rgb(242, 212, 118) |
| HSL | hsl(45, 83%, 71%) |
| HSV | hsv(45, 51%, 95%) |
| CMYK | cmyk(0%, 12.4%, 51.2%, 5.1%) |
| CIE-LAB | lab(85.64, -1.17, 49.94) |
| CIE-LCH | lch(85.64, 49.95, 91.34°) |
| OKLab | oklab(87.59% -0.0044 0.1187) |
| OKLCH | oklch(87.59% 0.119 92.1) |
| XYZ | xyz(63.4337, 67.2751, 26.7801) |
| Luminance | 0.6727 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.04
Sandy
#F1DA7A
ΔE00 2.32
Light Mustard
#F7D560
ΔE00 3.12
Sand (survey)
#E2CA76
ΔE00 3.28
Pale Gold
#FDDE6C
ΔE00 3.46
Maize
#F4D054
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D476 #7694F2
analogous
#F29676 #F2D476 #D2F276
triadic
#F2D476 #76F2D4 #D476F2
tetradic
#F2D476 #76F296 #7694F2 #F276D2
square
#F2D476 #76F296 #7694F2 #F276D2
split-complementary
#F2D476 #76D2F2 #9676F2
monochromatic
#D9A915 #EDC23E #F2D476 #F7E6AE #FCF6E3
Accessibility & contrast
On white
1.45
#F2D476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#F2D476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D476
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D476 | 1.00 | 1.45 | 14.45 | 14.45 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D16E
Deuteranopia (green-blind)
#EEDA7A
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d476; /* rgb */ color: rgb(242, 212, 118); /* oklch */ color: oklch(87.6% 0.119 92.1);
Tailwind
colors: {
custom: {
50: '#f9e19f',
500: '#f2d476',
950: '#000000',
},
}SCSS
$custom: #f2d476; $custom-light: #f9e19f; $custom-dark: #000000;
JSON
{
"hex": "#f2d476",
"rgb": {
"r": 242,
"g": 212,
"b": 118
},
"hsl": {
"h": 45.484,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.87591,
"c": 0.11874,
"h": 92.1
},
"luminance": 0.67272
}Semantic roles & 50–950 ramp
primary
#F2D476
secondary
#4062CC
accent
#3BDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480