#F0D251#F0D251
#F0D251 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.6% C 0.148 H 96.0°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D251 |
|---|---|
| RGB | rgb(240, 210, 81) |
| HSL | hsl(49, 84%, 63%) |
| HSV | hsv(49, 66%, 94%) |
| CMYK | cmyk(0%, 12.5%, 66.3%, 5.9%) |
| CIE-LAB | lab(84.59, -3.56, 65.35) |
| CIE-LCH | lch(84.59, 65.45, 93.12°) |
| OKLab | oklab(86.6% -0.0154 0.1474) |
| OKLCH | oklch(86.6% 0.148 96) |
| XYZ | xyz(60.4698, 65.2156, 17.1857) |
| Luminance | 0.6521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.78
Light Mustard
#F7D560
ΔE00 2.05
Light Gold
#FDDC5C
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 3.37
Sand Yellow
#FCE166
ΔE00 3.47
Dull Yellow
#EEDC5B
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D251 #516FF0
analogous
#F08251 #F0D251 #BFF051
triadic
#F0D251 #51F0D2 #D251F0
tetradic
#F0D251 #51F082 #516FF0 #F051BF
square
#F0D251 #51F082 #516FF0 #F051BF
split-complementary
#F0D251 #51BFF0 #8251F0
monochromatic
#B79710 #EBC319 #F0D251 #F5E189 #FAEFC2
Accessibility & contrast
On white
1.50
#F0D251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.04
#F0D251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D251
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D251 | 1.00 | 1.50 | 14.04 | 14.04 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#FFC3B7
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d251; /* rgb */ color: rgb(240, 210, 81); /* oklch */ color: oklch(86.6% 0.148 96.0);
Tailwind
colors: {
custom: {
50: '#f9df88',
500: '#f0d251',
950: '#000000',
},
}SCSS
$custom: #f0d251; $custom-light: #f9df88; $custom-dark: #000000;
JSON
{
"hex": "#f0d251",
"rgb": {
"r": 240,
"g": 210,
"b": 81
},
"hsl": {
"h": 48.679,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.86603,
"c": 0.14822,
"h": 96
},
"luminance": 0.65213
}Semantic roles & 50–950 ramp
primary
#F0D251
secondary
#2F49B6
accent
#2EE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F