#F2D670#F2D670
#F2D670 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.126 H 94.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D670 |
|---|---|
| RGB | rgb(242, 214, 112) |
| HSL | hsl(47, 83%, 69%) |
| HSV | hsv(47, 54%, 95%) |
| CMYK | cmyk(0%, 11.6%, 53.7%, 5.1%) |
| CIE-LAB | lab(86.08, -2.68, 53.32) |
| CIE-LCH | lch(86.08, 53.38, 92.88°) |
| OKLab | oklab(87.91% -0.0094 0.1255) |
| OKLCH | oklch(87.91% 0.126 94.3) |
| XYZ | xyz(63.5915, 68.1431, 25.1294) |
| Luminance | 0.6814 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.73
Wheat (survey)
#FBDD7E
ΔE00 2.14
Light Mustard
#F7D560
ΔE00 2.34
Pale Gold
#FDDE6C
ΔE00 2.46
Yellow Tan
#FFE36E
ΔE00 3.40
Maize
#F4D054
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D670 #708CF2
analogous
#F29570 #F2D670 #CDF270
triadic
#F2D670 #70F2D6 #D670F2
tetradic
#F2D670 #70F295 #708CF2 #F270CD
square
#F2D670 #70F295 #708CF2 #F270CD
split-complementary
#F2D670 #70CDF2 #9570F2
monochromatic
#D4AB13 #EDC638 #F2D670 #F7E6A8 #FCF6E0
Accessibility & contrast
On white
1.44
#F2D670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.63
#F2D670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D670
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D670 | 1.00 | 1.44 | 14.63 | 14.63 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d670; /* rgb */ color: rgb(242, 214, 112); /* oklch */ color: oklch(87.9% 0.126 94.3);
Tailwind
colors: {
custom: {
50: '#f9e29b',
500: '#f2d670',
950: '#000000',
},
}SCSS
$custom: #f2d670; $custom-light: #f9e29b; $custom-dark: #000000;
JSON
{
"hex": "#f2d670",
"rgb": {
"r": 242,
"g": 214,
"b": 112
},
"hsl": {
"h": 47.077,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.87912,
"c": 0.12587,
"h": 94.3
},
"luminance": 0.6814
}Semantic roles & 50–950 ramp
primary
#F2D670
secondary
#3B5ACB
accent
#35E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F