#FFE462#FFE462
#FFE462 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.150 H 97.6°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE462 |
|---|---|
| RGB | rgb(255, 228, 98) |
| HSL | hsl(50, 100%, 69%) |
| HSV | hsv(50, 62%, 100%) |
| CMYK | cmyk(0%, 10.6%, 61.6%, 0%) |
| CIE-LAB | lab(90.61, -5.45, 65.07) |
| CIE-LCH | lch(90.61, 65.30, 94.79°) |
| OKLab | oklab(91.72% -0.0198 0.1489) |
| OKLCH | oklch(91.72% 0.15 97.6) |
| XYZ | xyz(71.1910, 77.6319, 22.7875) |
| Luminance | 0.7763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 0.99
Yellow Tan
#FFE36E
ΔE00 1.55
Light Gold
#FDDC5C
ΔE00 2.24
Pale Gold
#FDDE6C
ΔE00 2.50
Dull Yellow
#EEDC5B
ΔE00 3.11
Sandy Yellow
#FDEE73
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE462 #627DFF
analogous
#FF9662 #FFE462 #CBFF62
triadic
#FFE462 #62FFE4 #E462FF
tetradic
#FFE462 #62FF96 #627DFF #FF62CB
square
#FFE462 #62FF96 #627DFF #FF62CB
split-complementary
#FFE462 #62CBFF #9662FF
monochromatic
#E7BF00 #FFD925 #FFE462 #FFEF9F #FFF9DC
Accessibility & contrast
On white
1.27
#FFE462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.53
#FFE462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE462
16.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE462 | 1.00 | 1.27 | 16.53 | 16.53 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #ffe462; /* rgb */ color: rgb(255, 228, 98); /* oklch */ color: oklch(91.7% 0.150 97.6);
Tailwind
colors: {
custom: {
50: '#ffec93',
500: '#ffe462',
950: '#000000',
},
}SCSS
$custom: #ffe462; $custom-light: #ffec93; $custom-dark: #000000;
JSON
{
"hex": "#ffe462",
"rgb": {
"r": 255,
"g": 228,
"b": 98
},
"hsl": {
"h": 49.682,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.91724,
"c": 0.15019,
"h": 97.6
},
"luminance": 0.77629
}Semantic roles & 50–950 ramp
primary
#FFE462
secondary
#2C49DA
accent
#27E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F