#F2D376#F2D376
#F2D376 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.118 H 91.4°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D376 |
|---|---|
| RGB | rgb(242, 211, 118) |
| HSL | hsl(45, 83%, 71%) |
| HSV | hsv(45, 51%, 95%) |
| CMYK | cmyk(0%, 12.8%, 51.2%, 5.1%) |
| CIE-LAB | lab(85.39, -0.65, 49.63) |
| CIE-LCH | lch(85.39, 49.64, 90.76°) |
| OKLab | oklab(87.39% -0.0029 0.118) |
| OKLCH | oklch(87.39% 0.118 91.4) |
| XYZ | xyz(63.1845, 66.7767, 26.6970) |
| Luminance | 0.6677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.26
Sandy
#F1DA7A
ΔE00 2.70
Sand (survey)
#E2CA76
ΔE00 3.22
Light Mustard
#F7D560
ΔE00 3.25
Pale Gold
#FDDE6C
ΔE00 3.73
Maize
#F4D054
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D376 #7695F2
analogous
#F29576 #F2D376 #D3F276
triadic
#F2D376 #76F2D3 #D376F2
tetradic
#F2D376 #76F295 #7695F2 #F276D3
square
#F2D376 #76F295 #7695F2 #F276D3
split-complementary
#F2D376 #76D3F2 #9576F2
monochromatic
#D9A815 #EDC13E #F2D376 #F7E5AE #FCF6E3
Accessibility & contrast
On white
1.46
#F2D376 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#F2D376 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D376
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D376 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D376 | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D06E
Deuteranopia (green-blind)
#EDD97A
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d376; /* rgb */ color: rgb(242, 211, 118); /* oklch */ color: oklch(87.4% 0.118 91.4);
Tailwind
colors: {
custom: {
50: '#f9e09f',
500: '#f2d376',
950: '#000000',
},
}SCSS
$custom: #f2d376; $custom-light: #f9e09f; $custom-dark: #000000;
JSON
{
"hex": "#f2d376",
"rgb": {
"r": 242,
"g": 211,
"b": 118
},
"hsl": {
"h": 45,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.87392,
"c": 0.11803,
"h": 91.4
},
"luminance": 0.66774
}Semantic roles & 50–950 ramp
primary
#F2D376
secondary
#4063CC
accent
#3DDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480