#FFE662#FFE662
#FFE662 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.152 H 98.6°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE662 |
|---|---|
| RGB | rgb(255, 230, 98) |
| HSL | hsl(50, 100%, 69%) |
| HSV | hsv(50, 62%, 100%) |
| CMYK | cmyk(0%, 9.8%, 61.6%, 0%) |
| CIE-LAB | lab(91.12, -6.45, 65.62) |
| CIE-LCH | lch(91.12, 65.94, 95.62°) |
| OKLab | oklab(92.12% -0.0227 0.1501) |
| OKLCH | oklch(92.12% 0.152 98.6) |
| XYZ | xyz(71.7444, 78.7387, 22.9719) |
| Luminance | 0.7873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.51
Yellow Tan
#FFE36E
ΔE00 2.00
Light Gold
#FDDC5C
ΔE00 2.89
Dull Yellow
#EEDC5B
ΔE00 3.03
Pale Gold
#FDDE6C
ΔE00 3.09
Sandy Yellow
#FDEE73
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE662 #627BFF
analogous
#FF9862 #FFE662 #CAFF62
triadic
#FFE662 #62FFE6 #E662FF
tetradic
#FFE662 #62FF98 #627BFF #FF62CA
square
#FFE662 #62FF98 #627BFF #FF62CA
split-complementary
#FFE662 #62CAFF #9862FF
monochromatic
#E7C200 #FFDC25 #FFE662 #FFF09F #FFF9DC
Accessibility & contrast
On white
1.25
#FFE662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.75
#FFE662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE662
16.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE662 | 1.00 | 1.25 | 16.75 | 16.75 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #ffe662; /* rgb */ color: rgb(255, 230, 98); /* oklch */ color: oklch(92.1% 0.152 98.6);
Tailwind
colors: {
custom: {
50: '#ffed94',
500: '#ffe662',
950: '#000000',
},
}SCSS
$custom: #ffe662; $custom-light: #ffed94; $custom-dark: #000000;
JSON
{
"hex": "#ffe662",
"rgb": {
"r": 255,
"g": 230,
"b": 98
},
"hsl": {
"h": 50.446,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.92123,
"c": 0.15175,
"h": 98.6
},
"luminance": 0.78735
}Semantic roles & 50–950 ramp
primary
#FFE662
secondary
#2C47DA
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160D
muted
#87847F