#F2D570#F2D570
#F2D570 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.125 H 93.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D570 |
|---|---|
| RGB | rgb(242, 213, 112) |
| HSL | hsl(47, 83%, 69%) |
| HSV | hsv(47, 54%, 95%) |
| CMYK | cmyk(0%, 12%, 53.7%, 5.1%) |
| CIE-LAB | lab(85.83, -2.17, 53.02) |
| CIE-LCH | lch(85.83, 53.06, 92.34°) |
| OKLab | oklab(87.71% -0.008 0.1249) |
| OKLCH | oklch(87.71% 0.125 93.7) |
| XYZ | xyz(63.3392, 67.6385, 25.0453) |
| Luminance | 0.6764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.99
Wheat (survey)
#FBDD7E
ΔE00 2.15
Light Mustard
#F7D560
ΔE00 2.30
Pale Gold
#FDDE6C
ΔE00 2.64
Maize
#F4D054
ΔE00 3.36
Yellow Tan
#FFE36E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D570 #708DF2
analogous
#F29470 #F2D570 #CEF270
triadic
#F2D570 #70F2D5 #D570F2
tetradic
#F2D570 #70F294 #708DF2 #F270CE
square
#F2D570 #70F294 #708DF2 #F270CE
split-complementary
#F2D570 #70CEF2 #9470F2
monochromatic
#D4A913 #EDC538 #F2D570 #F7E5A8 #FCF6E0
Accessibility & contrast
On white
1.45
#F2D570 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.53
#F2D570 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D570
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D570 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D570 | 1.00 | 1.45 | 14.53 | 14.53 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#EFDA74
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d570; /* rgb */ color: rgb(242, 213, 112); /* oklch */ color: oklch(87.7% 0.125 93.7);
Tailwind
colors: {
custom: {
50: '#f9e19b',
500: '#f2d570',
950: '#000000',
},
}SCSS
$custom: #f2d570; $custom-light: #f9e19b; $custom-dark: #000000;
JSON
{
"hex": "#f2d570",
"rgb": {
"r": 242,
"g": 213,
"b": 112
},
"hsl": {
"h": 46.615,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.87712,
"c": 0.12512,
"h": 93.7
},
"luminance": 0.67636
}Semantic roles & 50–950 ramp
primary
#F2D570
secondary
#3B5BCB
accent
#36E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F