#F2D371#F2D371
#F2D371 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.123 H 92.2°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D371 |
|---|---|
| RGB | rgb(242, 211, 113) |
| HSL | hsl(46, 83%, 70%) |
| HSV | hsv(46, 53%, 95%) |
| CMYK | cmyk(0%, 12.8%, 53.3%, 5.1%) |
| CIE-LAB | lab(85.33, -1.07, 51.96) |
| CIE-LCH | lch(85.33, 51.97, 91.18°) |
| OKLab | oklab(87.33% -0.0047 0.1227) |
| OKLCH | oklch(87.33% 0.123 92.2) |
| XYZ | xyz(62.8953, 66.6610, 25.1735) |
| Luminance | 0.6666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.32
Light Mustard
#F7D560
ΔE00 2.55
Sandy
#F1DA7A
ΔE00 2.59
Pale Gold
#FDDE6C
ΔE00 3.21
Maize
#F4D054
ΔE00 3.42
Sand (survey)
#E2CA76
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D371 #7190F2
analogous
#F29271 #F2D371 #D1F271
triadic
#F2D371 #71F2D3 #D371F2
tetradic
#F2D371 #71F292 #7190F2 #F271D1
square
#F2D371 #71F292 #7190F2 #F271D1
split-complementary
#F2D371 #71D1F2 #9271F2
monochromatic
#D5A714 #EDC239 #F2D371 #F7E4A9 #FCF6E1
Accessibility & contrast
On white
1.47
#F2D371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#F2D371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D371
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D371 | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D068
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d371; /* rgb */ color: rgb(242, 211, 113); /* oklch */ color: oklch(87.3% 0.123 92.2);
Tailwind
colors: {
custom: {
50: '#f9e09c',
500: '#f2d371',
950: '#000000',
},
}SCSS
$custom: #f2d371; $custom-light: #f9e09c; $custom-dark: #000000;
JSON
{
"hex": "#f2d371",
"rgb": {
"r": 242,
"g": 211,
"b": 113
},
"hsl": {
"h": 45.581,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.87327,
"c": 0.12275,
"h": 92.2
},
"luminance": 0.66658
}Semantic roles & 50–950 ramp
primary
#F2D371
secondary
#3C5ECB
accent
#3AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F