#F2D372#F2D372
#F2D372 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.122 H 92.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D372 |
|---|---|
| RGB | rgb(242, 211, 114) |
| HSL | hsl(45, 83%, 70%) |
| HSV | hsv(45, 53%, 95%) |
| CMYK | cmyk(0%, 12.8%, 52.9%, 5.1%) |
| CIE-LAB | lab(85.34, -0.99, 51.50) |
| CIE-LCH | lch(85.34, 51.51, 91.10°) |
| OKLab | oklab(87.34% -0.0043 0.1217) |
| OKLCH | oklch(87.34% 0.122 92) |
| XYZ | xyz(62.9519, 66.6836, 25.4716) |
| Luminance | 0.6668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.29
Sandy
#F1DA7A
ΔE00 2.59
Light Mustard
#F7D560
ΔE00 2.68
Pale Gold
#FDDE6C
ΔE00 3.30
Sand (survey)
#E2CA76
ΔE00 3.44
Maize
#F4D054
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D372 #7291F2
analogous
#F29372 #F2D372 #D1F272
triadic
#F2D372 #72F2D3 #D372F2
tetradic
#F2D372 #72F293 #7291F2 #F272D1
square
#F2D372 #72F293 #7291F2 #F272D1
split-complementary
#F2D372 #72D1F2 #9372F2
monochromatic
#D6A714 #EDC23A #F2D372 #F7E4AA #FCF6E2
Accessibility & contrast
On white
1.46
#F2D372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.34
#F2D372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D372
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D372 | 1.00 | 1.46 | 14.34 | 14.34 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d372; /* rgb */ color: rgb(242, 211, 114); /* oklch */ color: oklch(87.3% 0.122 92.0);
Tailwind
colors: {
custom: {
50: '#f9e09d',
500: '#f2d372',
950: '#000000',
},
}SCSS
$custom: #f2d372; $custom-light: #f9e09d; $custom-dark: #000000;
JSON
{
"hex": "#f2d372",
"rgb": {
"r": 242,
"g": 211,
"b": 114
},
"hsl": {
"h": 45.469,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.8734,
"c": 0.12182,
"h": 92
},
"luminance": 0.66681
}Semantic roles & 50–950 ramp
primary
#F2D372
secondary
#3D5FCC
accent
#3BE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F