#F0D461#F0D461
#F0D461 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.137 H 95.7°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D461 |
|---|---|
| RGB | rgb(240, 212, 97) |
| HSL | hsl(48, 83%, 66%) |
| HSV | hsv(48, 60%, 94%) |
| CMYK | cmyk(0%, 11.7%, 59.6%, 5.9%) |
| CIE-LAB | lab(85.24, -3.59, 59.20) |
| CIE-LCH | lch(85.24, 59.31, 93.47°) |
| OKLab | oklab(87.16% -0.0137 0.1366) |
| OKLCH | oklch(87.16% 0.137 95.7) |
| XYZ | xyz(61.6389, 66.4782, 20.8918) |
| Luminance | 0.6647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.66
Maize
#F4D054
ΔE00 2.36
Pale Gold
#FDDE6C
ΔE00 2.52
Light Gold
#FDDC5C
ΔE00 2.67
Sand Yellow
#FCE166
ΔE00 3.02
Sandy
#F1DA7A
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D461 #617DF0
analogous
#F08C61 #F0D461 #C4F061
triadic
#F0D461 #61F0D4 #D461F0
tetradic
#F0D461 #61F08C #617DF0 #F061C4
square
#F0D461 #61F08C #617DF0 #F061C4
split-complementary
#F0D461 #61C4F0 #8C61F0
monochromatic
#C4A113 #EBC529 #F0D461 #F5E399 #FBF2D1
Accessibility & contrast
On white
1.47
#F0D461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#F0D461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D461
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D461 | 1.00 | 1.47 | 14.30 | 14.30 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D055
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d461; /* rgb */ color: rgb(240, 212, 97); /* oklch */ color: oklch(87.2% 0.137 95.7);
Tailwind
colors: {
custom: {
50: '#f8e092',
500: '#f0d461',
950: '#000000',
},
}SCSS
$custom: #f0d461; $custom-light: #f8e092; $custom-dark: #000000;
JSON
{
"hex": "#f0d461",
"rgb": {
"r": 240,
"g": 212,
"b": 97
},
"hsl": {
"h": 48.252,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.87158,
"c": 0.13727,
"h": 95.7
},
"luminance": 0.66475
}Semantic roles & 50–950 ramp
primary
#F0D461
secondary
#344FC2
accent
#31DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F