#F0D03E#F0D03E
#F0D03E is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.159 H 96.2°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D03E |
|---|---|
| RGB | rgb(240, 208, 62) |
| HSL | hsl(49, 86%, 59%) |
| HSV | hsv(49, 74%, 94%) |
| CMYK | cmyk(0%, 13.3%, 74.2%, 5.9%) |
| CIE-LAB | lab(83.96, -3.46, 71.93) |
| CIE-LCH | lch(83.96, 72.01, 92.76°) |
| OKLab | oklab(86.06% -0.0172 0.158) |
| OKLCH | oklch(86.06% 0.159 96.2) |
| XYZ | xyz(59.3637, 63.9880, 13.7806) |
| Luminance | 0.6399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.50
Light Mustard
#F7D560
ΔE00 3.33
Light Gold
#FDDC5C
ΔE00 3.34
Gold
#FFD700
ΔE00 4.01
Sunflower Yellow
#FFDA03
ΔE00 4.18
Banana
#FFE135
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D03E #3E5EF0
analogous
#F0773E #F0D03E #B7F03E
triadic
#F0D03E #3EF0D0 #D03EF0
tetradic
#F0D03E #3EF077 #3E5EF0 #F03EB7
square
#F0D03E #3EF077 #3E5EF0 #F03EB7
split-complementary
#F0D03E #3EB7F0 #773EF0
monochromatic
#A78B0D #DFBA11 #F0D03E #F4DE77 #F9ECB0
Accessibility & contrast
On white
1.52
#F0D03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#F0D03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D03E
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D03E | 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)
#E5CB23
Deuteranopia (green-blind)
#EED647
Tritanopia (blue-blind)
#FFC0B4
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0d03e; /* rgb */ color: rgb(240, 208, 62); /* oklch */ color: oklch(86.1% 0.159 96.2);
Tailwind
colors: {
custom: {
50: '#f9de7d',
500: '#f0d03e',
950: '#000000',
},
}SCSS
$custom: #f0d03e; $custom-light: #f9de7d; $custom-dark: #000000;
JSON
{
"hex": "#f0d03e",
"rgb": {
"r": 240,
"g": 208,
"b": 62
},
"hsl": {
"h": 49.213,
"s": 85.577,
"l": 59.216
},
"oklch": {
"l": 0.8606,
"c": 0.15894,
"h": 96.2
},
"luminance": 0.63985
}Semantic roles & 50–950 ramp
primary
#F0D03E
secondary
#2A41A8
accent
#51FC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D