#F2D054#F2D054
#F2D054 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.145 H 93.7°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D054 |
|---|---|
| RGB | rgb(242, 208, 84) |
| HSL | hsl(47, 86%, 64%) |
| HSV | hsv(47, 65%, 95%) |
| CMYK | cmyk(0%, 14%, 65.3%, 5.1%) |
| CIE-LAB | lab(84.29, -1.54, 63.85) |
| CIE-LCH | lch(84.29, 63.87, 91.38°) |
| OKLab | oklab(86.42% -0.0094 0.1446) |
| OKLCH | oklch(86.42% 0.145 93.7) |
| XYZ | xyz(60.7770, 64.6323, 17.6598) |
| Luminance | 0.6463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.54
Light Mustard
#F7D560
ΔE00 1.44
Light Gold
#FDDC5C
ΔE00 2.75
Pale Gold
#FDDE6C
ΔE00 3.42
Sand Yellow
#FCE166
ΔE00 4.08
Yellow Tan
#FFE36E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D054 #5476F2
analogous
#F28154 #F2D054 #C5F254
triadic
#F2D054 #54F2D0 #D054F2
tetradic
#F2D054 #54F281 #5476F2 #F254C5
square
#F2D054 #54F281 #5476F2 #F254C5
split-complementary
#F2D054 #54C5F2 #8154F2
monochromatic
#BD980E #EEC01B #F2D054 #F6E08D #FBEFC6
Accessibility & contrast
On white
1.51
#F2D054 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#F2D054 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D054
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D054 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D054 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC45
Deuteranopia (green-blind)
#EDD75A
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2d054; /* rgb */ color: rgb(242, 208, 84); /* oklch */ color: oklch(86.4% 0.145 93.7);
Tailwind
colors: {
custom: {
50: '#fade8a',
500: '#f2d054',
950: '#000000',
},
}SCSS
$custom: #f2d054; $custom-light: #fade8a; $custom-dark: #000000;
JSON
{
"hex": "#f2d054",
"rgb": {
"r": 242,
"g": 208,
"b": 84
},
"hsl": {
"h": 47.089,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.86416,
"c": 0.14494,
"h": 93.7
},
"luminance": 0.64629
}Semantic roles & 50–950 ramp
primary
#F2D054
secondary
#2F4DBB
accent
#33E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F