#F0D03F#F0D03F
#F0D03F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.158 H 96.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D03F |
|---|---|
| RGB | rgb(240, 208, 63) |
| HSL | hsl(49, 86%, 59%) |
| HSV | hsv(49, 74%, 94%) |
| CMYK | cmyk(0%, 13.3%, 73.8%, 5.9%) |
| CIE-LAB | lab(83.97, -3.42, 71.59) |
| CIE-LCH | lch(83.97, 71.67, 92.74°) |
| OKLab | oklab(86.07% -0.017 0.1575) |
| OKLCH | oklch(86.07% 0.158 96.1) |
| XYZ | xyz(59.3914, 63.9991, 13.9264) |
| Luminance | 0.6400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.43
Light Mustard
#F7D560
ΔE00 3.26
Light Gold
#FDDC5C
ΔE00 3.29
Gold
#FFD700
ΔE00 4.07
Sunflower Yellow
#FFDA03
ΔE00 4.24
Banana
#FFE135
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D03F #3F5FF0
analogous
#F0783F #F0D03F #B7F03F
triadic
#F0D03F #3FF0D0 #D03FF0
tetradic
#F0D03F #3FF078 #3F5FF0 #F03FB7
square
#F0D03F #3FF078 #3F5FF0 #F03FB7
split-complementary
#F0D03F #3FB7F0 #783FF0
monochromatic
#A88C0D #E0BB12 #F0D03F #F4DE78 #F9ECB1
Accessibility & contrast
On white
1.52
#F0D03F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#F0D03F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D03F
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D03F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D03F | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC25
Deuteranopia (green-blind)
#EED648
Tritanopia (blue-blind)
#FFC0B4
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0d03f; /* rgb */ color: rgb(240, 208, 63); /* oklch */ color: oklch(86.1% 0.158 96.1);
Tailwind
colors: {
custom: {
50: '#f9de7e',
500: '#f0d03f',
950: '#000000',
},
}SCSS
$custom: #f0d03f; $custom-light: #f9de7e; $custom-dark: #000000;
JSON
{
"hex": "#f0d03f",
"rgb": {
"r": 240,
"g": 208,
"b": 63
},
"hsl": {
"h": 49.153,
"s": 85.507,
"l": 59.412
},
"oklch": {
"l": 0.86066,
"c": 0.15837,
"h": 96.1
},
"luminance": 0.63996
}Semantic roles & 50–950 ramp
primary
#F0D03F
secondary
#2A41A9
accent
#52FC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E