#F2D154#F2D154
#F2D154 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.146 H 94.3°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D154 |
|---|---|
| RGB | rgb(242, 209, 84) |
| HSL | hsl(47, 86%, 64%) |
| HSV | hsv(47, 65%, 95%) |
| CMYK | cmyk(0%, 13.6%, 65.3%, 5.1%) |
| CIE-LAB | lab(84.55, -2.05, 64.12) |
| CIE-LCH | lch(84.55, 64.15, 91.83°) |
| OKLab | oklab(86.62% -0.0109 0.1452) |
| OKLCH | oklch(86.62% 0.146 94.3) |
| XYZ | xyz(61.0216, 65.1215, 17.7413) |
| Luminance | 0.6512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.84
Light Mustard
#F7D560
ΔE00 1.42
Light Gold
#FDDC5C
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 3.24
Sand Yellow
#FCE166
ΔE00 3.79
Yellow Tan
#FFE36E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D154 #5475F2
analogous
#F28254 #F2D154 #C4F254
triadic
#F2D154 #54F2D1 #D154F2
tetradic
#F2D154 #54F282 #5475F2 #F254C4
square
#F2D154 #54F282 #5475F2 #F254C4
split-complementary
#F2D154 #54C4F2 #8254F2
monochromatic
#BD990E #EEC21B #F2D154 #F6E08D #FBF0C6
Accessibility & contrast
On white
1.50
#F2D154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.02
#F2D154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D154
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D154 | 1.00 | 1.50 | 14.02 | 14.02 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CD45
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d154; /* rgb */ color: rgb(242, 209, 84); /* oklch */ color: oklch(86.6% 0.146 94.3);
Tailwind
colors: {
custom: {
50: '#fade8a',
500: '#f2d154',
950: '#000000',
},
}SCSS
$custom: #f2d154; $custom-light: #fade8a; $custom-dark: #000000;
JSON
{
"hex": "#f2d154",
"rgb": {
"r": 242,
"g": 209,
"b": 84
},
"hsl": {
"h": 47.468,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.86615,
"c": 0.14561,
"h": 94.3
},
"luminance": 0.65118
}Semantic roles & 50–950 ramp
primary
#F2D154
secondary
#2F4CBB
accent
#32E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F