#FFE022#FFE022
#FFE022 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.182 H 98.6°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE022 |
|---|---|
| RGB | rgb(255, 224, 34) |
| HSL | hsl(52, 100%, 57%) |
| HSV | hsv(52, 87%, 100%) |
| CMYK | cmyk(0%, 12.2%, 86.7%, 0%) |
| CIE-LAB | lab(89.25, -6.05, 84.68) |
| CIE-LCH | lch(89.25, 84.90, 94.09°) |
| OKLab | oklab(90.53% -0.0273 0.1797) |
| OKLCH | oklch(90.53% 0.182 98.6) |
| XYZ | xyz(68.1881, 74.6905, 12.3381) |
| Luminance | 0.7469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sun Yellow
#FFDF22
ΔE00 0.31
Dandelion
#FEDF08
ΔE00 0.69
Banana
#FFE135
ΔE00 0.95
Sunflower Yellow
#FFDA03
ΔE00 1.89
Gold
#FFD700
ΔE00 2.79
Light Gold
#FDDC5C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE022 #2241FF
analogous
#FF7222 #FFE022 #AFFF22
triadic
#FFE022 #22FFE0 #E022FF
tetradic
#FFE022 #22FF72 #2241FF #FF22AF
square
#FFE022 #22FF72 #2241FF #FF22AF
split-complementary
#FFE022 #22AFFF #7222FF
monochromatic
#A78F00 #E4C400 #FFE022 #FFE95F #FFF19C
Accessibility & contrast
On white
1.32
#FFE022 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.94
#FFE022 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE022
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE022 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE022 | 1.00 | 1.32 | 15.94 | 15.94 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DA00
Deuteranopia (green-blind)
#FFE535
Tritanopia (blue-blind)
#FFCEC0
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #ffe022; /* rgb */ color: rgb(255, 224, 34); /* oklch */ color: oklch(90.5% 0.182 98.6);
Tailwind
colors: {
custom: {
50: '#ffe974',
500: '#ffe022',
950: '#000000',
},
}SCSS
$custom: #ffe022; $custom-light: #ffe974; $custom-dark: #000000;
JSON
{
"hex": "#ffe022",
"rgb": {
"r": 255,
"g": 224,
"b": 34
},
"hsl": {
"h": 51.584,
"s": 100,
"l": 56.667
},
"oklch": {
"l": 0.9053,
"c": 0.18181,
"h": 98.6
},
"luminance": 0.74687
}Semantic roles & 50–950 ramp
primary
#FFE022
secondary
#1E31A8
accent
#47FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19160A
muted
#87847D