#FFD02E#FFD02E
#FFD02E is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.4% C 0.169 H 91.0°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD02E |
|---|---|
| RGB | rgb(255, 208, 46) |
| HSL | hsl(47, 100%, 59%) |
| HSV | hsv(47, 82%, 100%) |
| CMYK | cmyk(0%, 18.4%, 82%, 0%) |
| CIE-LAB | lab(85.29, 2.33, 78.62) |
| CIE-LCH | lch(85.29, 78.65, 88.30°) |
| OKLab | oklab(87.41% -0.0029 0.1685) |
| OKLCH | oklch(87.41% 0.169 91) |
| XYZ | xyz(64.2930, 66.5732, 12.0478) |
| Luminance | 0.6657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Golden Yellow
#FEC615
ΔE00 3.01
Gold
#FFD700
ΔE00 3.20
Sunflower
#FFC512
ΔE00 3.49
Goldenrod (survey)
#FAC205
ΔE00 3.74
Maize
#F4D054
ΔE00 3.90
Sunflower Yellow
#FFDA03
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD02E #2E5DFF
analogous
#FF682E #FFD02E #C6FF2E
triadic
#FFD02E #2EFFD0 #D02EFF
tetradic
#FFD02E #2EFF68 #2E5DFF #FF2EC6
square
#FFD02E #2EFF68 #2E5DFF #FF2EC6
split-complementary
#FFD02E #2EC6FF #682EFF
monochromatic
#B38A00 #F0BA00 #FFD02E #FFDE6B #FFECA8
Accessibility & contrast
On white
1.47
#FFD02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.31
#FFD02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD02E
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD02E | 1.00 | 1.47 | 14.31 | 14.31 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#F4DB3A
Tritanopia (blue-blind)
#FFBEB3
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #ffd02e; /* rgb */ color: rgb(255, 208, 46); /* oklch */ color: oklch(87.4% 0.169 91.0);
Tailwind
colors: {
custom: {
50: '#ffdd76',
500: '#ffd02e',
950: '#000000',
},
}SCSS
$custom: #ffd02e; $custom-light: #ffdd76; $custom-dark: #000000;
JSON
{
"hex": "#ffd02e",
"rgb": {
"r": 255,
"g": 208,
"b": 46
},
"hsl": {
"h": 46.507,
"s": 100,
"l": 59.02
},
"oklch": {
"l": 0.87411,
"c": 0.16856,
"h": 91
},
"luminance": 0.66569
}Semantic roles & 50–950 ramp
primary
#FFD02E
secondary
#1F40B2
accent
#59FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D