#FFE162#FFE162
#FFE162 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.148 H 96.0°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE162 |
|---|---|
| RGB | rgb(255, 225, 98) |
| HSL | hsl(49, 100%, 69%) |
| HSV | hsv(49, 62%, 100%) |
| CMYK | cmyk(0%, 11.8%, 61.6%, 0%) |
| CIE-LAB | lab(89.86, -3.95, 64.25) |
| CIE-LCH | lch(89.86, 64.37, 93.52°) |
| OKLab | oklab(91.13% -0.0155 0.1471) |
| OKLCH | oklch(91.13% 0.148 96) |
| XYZ | xyz(70.3729, 75.9957, 22.5148) |
| Luminance | 0.7599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 0.87
Light Gold
#FDDC5C
ΔE00 1.28
Yellow Tan
#FFE36E
ΔE00 1.30
Pale Gold
#FDDE6C
ΔE00 1.69
Light Mustard
#F7D560
ΔE00 3.01
Dull Yellow
#EEDC5B
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE162 #6280FF
analogous
#FF9362 #FFE162 #CFFF62
triadic
#FFE162 #62FFE1 #E162FF
tetradic
#FFE162 #62FF93 #6280FF #FF62CF
square
#FFE162 #62FF93 #6280FF #FF62CF
split-complementary
#FFE162 #62CFFF #9362FF
monochromatic
#E7BB00 #FFD525 #FFE162 #FFED9F #FFF8DC
Accessibility & contrast
On white
1.30
#FFE162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.20
#FFE162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE162
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE162 | 1.00 | 1.30 | 16.20 | 16.20 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DC54
Deuteranopia (green-blind)
#FEE668
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #ffe162; /* rgb */ color: rgb(255, 225, 98); /* oklch */ color: oklch(91.1% 0.148 96.0);
Tailwind
colors: {
custom: {
50: '#ffea93',
500: '#ffe162',
950: '#000000',
},
}SCSS
$custom: #ffe162; $custom-light: #ffea93; $custom-dark: #000000;
JSON
{
"hex": "#ffe162",
"rgb": {
"r": 255,
"g": 225,
"b": 98
},
"hsl": {
"h": 48.535,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.91126,
"c": 0.14794,
"h": 96
},
"luminance": 0.75992
}Semantic roles & 50–950 ramp
primary
#FFE162
secondary
#2C4DDA
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F