#F0D33F#F0D33F
#F0D33F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.160 H 97.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D33F |
|---|---|
| RGB | rgb(240, 211, 63) |
| HSL | hsl(50, 86%, 59%) |
| HSV | hsv(50, 74%, 94%) |
| CMYK | cmyk(0%, 12.1%, 73.8%, 5.9%) |
| CIE-LAB | lab(84.73, -4.95, 72.31) |
| CIE-LCH | lch(84.73, 72.48, 93.91°) |
| OKLab | oklab(86.67% -0.0213 0.159) |
| OKLCH | oklch(86.67% 0.16 97.6) |
| XYZ | xyz(60.1297, 65.4758, 14.1726) |
| Luminance | 0.6547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.14
Light Gold
#FDDC5C
ΔE00 3.18
Light Mustard
#F7D560
ΔE00 3.61
Banana
#FFE135
ΔE00 3.62
Dull Yellow
#EEDC5B
ΔE00 3.77
Sun Yellow
#FFDF22
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D33F #3F5CF0
analogous
#F07A3F #F0D33F #B5F03F
triadic
#F0D33F #3FF0D3 #D33FF0
tetradic
#F0D33F #3FF07A #3F5CF0 #F03FB5
square
#F0D33F #3FF07A #3F5CF0 #F03FB5
split-complementary
#F0D33F #3FB5F0 #7A3FF0
monochromatic
#A88E0D #E0BE12 #F0D33F #F4E078 #F9EDB1
Accessibility & contrast
On white
1.49
#F0D33F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#F0D33F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D33F
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D33F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D33F | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CE24
Deuteranopia (green-blind)
#F0D849
Tritanopia (blue-blind)
#FFC3B6
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d33f; /* rgb */ color: rgb(240, 211, 63); /* oklch */ color: oklch(86.7% 0.160 97.6);
Tailwind
colors: {
custom: {
50: '#f9e07e',
500: '#f0d33f',
950: '#000000',
},
}SCSS
$custom: #f0d33f; $custom-light: #f9e07e; $custom-dark: #000000;
JSON
{
"hex": "#f0d33f",
"rgb": {
"r": 240,
"g": 211,
"b": 63
},
"hsl": {
"h": 50.169,
"s": 85.507,
"l": 59.412
},
"oklch": {
"l": 0.86671,
"c": 0.16043,
"h": 97.6
},
"luminance": 0.65473
}Semantic roles & 50–950 ramp
primary
#F0D33F
secondary
#2A3FA9
accent
#4EFC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E