#F2D672#F2D672
#F2D672 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.124 H 94.0°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D672 |
|---|---|
| RGB | rgb(242, 214, 114) |
| HSL | hsl(47, 83%, 70%) |
| HSV | hsv(47, 53%, 95%) |
| CMYK | cmyk(0%, 11.6%, 52.9%, 5.1%) |
| CIE-LAB | lab(86.10, -2.52, 52.40) |
| CIE-LCH | lch(86.10, 52.46, 92.75°) |
| OKLab | oklab(87.94% -0.0088 0.1237) |
| OKLCH | oklch(87.94% 0.124 94) |
| XYZ | xyz(63.7041, 68.1881, 25.7224) |
| Luminance | 0.6818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.63
Wheat (survey)
#FBDD7E
ΔE00 1.98
Light Mustard
#F7D560
ΔE00 2.55
Pale Gold
#FDDE6C
ΔE00 2.63
Yellow Tan
#FFE36E
ΔE00 3.56
Maize
#F4D054
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D672 #728EF2
analogous
#F29672 #F2D672 #CEF272
triadic
#F2D672 #72F2D6 #D672F2
tetradic
#F2D672 #72F296 #728EF2 #F272CE
square
#F2D672 #72F296 #728EF2 #F272CE
split-complementary
#F2D672 #72CEF2 #9672F2
monochromatic
#D6AB14 #EDC63A #F2D672 #F7E6AA #FCF7E2
Accessibility & contrast
On white
1.43
#F2D672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.64
#F2D672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D672
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D672 | 1.00 | 1.43 | 14.64 | 14.64 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d672; /* rgb */ color: rgb(242, 214, 114); /* oklch */ color: oklch(87.9% 0.124 94.0);
Tailwind
colors: {
custom: {
50: '#f9e29d',
500: '#f2d672',
950: '#000000',
},
}SCSS
$custom: #f2d672; $custom-light: #f9e29d; $custom-dark: #000000;
JSON
{
"hex": "#f2d672",
"rgb": {
"r": 242,
"g": 214,
"b": 114
},
"hsl": {
"h": 46.875,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.87937,
"c": 0.12402,
"h": 94
},
"luminance": 0.68185
}Semantic roles & 50–950 ramp
primary
#F2D672
secondary
#3D5CCC
accent
#36E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F