#F2D051#F2D051
#F2D051 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.147 H 94.0°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D051 |
|---|---|
| RGB | rgb(242, 208, 81) |
| HSL | hsl(47, 86%, 63%) |
| HSV | hsv(47, 67%, 95%) |
| CMYK | cmyk(0%, 14%, 66.5%, 5.1%) |
| CIE-LAB | lab(84.27, -1.71, 65.07) |
| CIE-LCH | lch(84.27, 65.09, 91.50°) |
| OKLab | oklab(86.39% -0.0102 0.1468) |
| OKLCH | oklch(86.39% 0.147 94) |
| XYZ | xyz(60.6620, 64.5863, 17.0542) |
| Luminance | 0.6458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.68
Light Mustard
#F7D560
ΔE00 1.66
Light Gold
#FDDC5C
ΔE00 2.72
Pale Gold
#FDDE6C
ΔE00 3.55
Sand Yellow
#FCE166
ΔE00 4.09
Yellow Tan
#FFE36E
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D051 #5173F2
analogous
#F27F51 #F2D051 #C3F251
triadic
#F2D051 #51F2D0 #D051F2
tetradic
#F2D051 #51F27F #5173F2 #F251C3
square
#F2D051 #51F27F #5173F2 #F251C3
split-complementary
#F2D051 #51C3F2 #7F51F2
monochromatic
#BB960E #EEC118 #F2D051 #F6DF8A #FBEFC3
Accessibility & contrast
On white
1.51
#F2D051 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.92
#F2D051 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D051
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D051 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D051 | 1.00 | 1.51 | 13.92 | 13.92 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC41
Deuteranopia (green-blind)
#EDD757
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2d051; /* rgb */ color: rgb(242, 208, 81); /* oklch */ color: oklch(86.4% 0.147 94.0);
Tailwind
colors: {
custom: {
50: '#fade88',
500: '#f2d051',
950: '#000000',
},
}SCSS
$custom: #f2d051; $custom-light: #fade88; $custom-dark: #000000;
JSON
{
"hex": "#f2d051",
"rgb": {
"r": 242,
"g": 208,
"b": 81
},
"hsl": {
"h": 47.329,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.86389,
"c": 0.14711,
"h": 94
},
"luminance": 0.64583
}Semantic roles & 50–950 ramp
primary
#F2D051
secondary
#2E4BB9
accent
#32E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F