#F2D474#F2D474
#F2D474 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.6% C 0.121 H 92.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D474 |
|---|---|
| RGB | rgb(242, 212, 116) |
| HSL | hsl(46, 83%, 70%) |
| HSV | hsv(46, 52%, 95%) |
| CMYK | cmyk(0%, 12.4%, 52.1%, 5.1%) |
| CIE-LAB | lab(85.62, -1.33, 50.87) |
| CIE-LCH | lch(85.62, 50.89, 91.50°) |
| OKLab | oklab(87.56% -0.0051 0.1205) |
| OKLCH | oklch(87.56% 0.121 92.4) |
| XYZ | xyz(63.3162, 67.2281, 26.1608) |
| Luminance | 0.6723 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.06
Sandy
#F1DA7A
ΔE00 2.26
Light Mustard
#F7D560
ΔE00 2.85
Pale Gold
#FDDE6C
ΔE00 3.24
Sand (survey)
#E2CA76
ΔE00 3.39
Maize
#F4D054
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D474 #7492F2
analogous
#F29574 #F2D474 #D1F274
triadic
#F2D474 #74F2D4 #D474F2
tetradic
#F2D474 #74F295 #7492F2 #F274D1
square
#F2D474 #74F295 #7492F2 #F274D1
split-complementary
#F2D474 #74D1F2 #9574F2
monochromatic
#D7A914 #EDC33C #F2D474 #F7E5AC #FCF6E3
Accessibility & contrast
On white
1.45
#F2D474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#F2D474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D474
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D474 | 1.00 | 1.45 | 14.45 | 14.45 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D16C
Deuteranopia (green-blind)
#EEDA78
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d474; /* rgb */ color: rgb(242, 212, 116); /* oklch */ color: oklch(87.6% 0.121 92.4);
Tailwind
colors: {
custom: {
50: '#f9e19e',
500: '#f2d474',
950: '#000000',
},
}SCSS
$custom: #f2d474; $custom-light: #f9e19e; $custom-dark: #000000;
JSON
{
"hex": "#f2d474",
"rgb": {
"r": 242,
"g": 212,
"b": 116
},
"hsl": {
"h": 45.714,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.87564,
"c": 0.12065,
"h": 92.4
},
"luminance": 0.67225
}Semantic roles & 50–950 ramp
primary
#F2D474
secondary
#3E60CC
accent
#3ADF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F