#F2D574#F2D574
#F2D574 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.121 H 93.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D574 |
|---|---|
| RGB | rgb(242, 213, 116) |
| HSL | hsl(46, 83%, 70%) |
| HSV | hsv(46, 52%, 95%) |
| CMYK | cmyk(0%, 12%, 52.1%, 5.1%) |
| CIE-LAB | lab(85.87, -1.84, 51.17) |
| CIE-LCH | lch(85.87, 51.21, 92.06°) |
| OKLab | oklab(87.76% -0.0066 0.1212) |
| OKLCH | oklch(87.76% 0.121 93.1) |
| XYZ | xyz(63.5669, 67.7296, 26.2444) |
| Luminance | 0.6773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.91
Wheat (survey)
#FBDD7E
ΔE00 1.92
Light Mustard
#F7D560
ΔE00 2.78
Pale Gold
#FDDE6C
ΔE00 3.01
Sand (survey)
#E2CA76
ΔE00 3.50
Maize
#F4D054
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D574 #7491F2
analogous
#F29674 #F2D574 #D0F274
triadic
#F2D574 #74F2D5 #D574F2
tetradic
#F2D574 #74F296 #7491F2 #F274D0
square
#F2D574 #74F296 #7491F2 #F274D0
split-complementary
#F2D574 #74D0F2 #9674F2
monochromatic
#D7AA14 #EDC43C #F2D574 #F7E6AC #FCF7E3
Accessibility & contrast
On white
1.44
#F2D574 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.55
#F2D574 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D574
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D574 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D574 | 1.00 | 1.44 | 14.55 | 14.55 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D26B
Deuteranopia (green-blind)
#EEDA78
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d574; /* rgb */ color: rgb(242, 213, 116); /* oklch */ color: oklch(87.8% 0.121 93.1);
Tailwind
colors: {
custom: {
50: '#f9e19e',
500: '#f2d574',
950: '#000000',
},
}SCSS
$custom: #f2d574; $custom-light: #f9e19e; $custom-dark: #000000;
JSON
{
"hex": "#f2d574",
"rgb": {
"r": 242,
"g": 213,
"b": 116
},
"hsl": {
"h": 46.19,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.87763,
"c": 0.12138,
"h": 93.1
},
"luminance": 0.67727
}Semantic roles & 50–950 ramp
primary
#F2D574
secondary
#3E5FCC
accent
#38DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F