#FFE170#FFE170
#FFE170 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.3% C 0.136 H 94.7°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE170 |
|---|---|
| RGB | rgb(255, 225, 112) |
| HSL | hsl(47, 100%, 72%) |
| HSV | hsv(47, 56%, 100%) |
| CMYK | cmyk(0%, 11.8%, 56.1%, 0%) |
| CIE-LAB | lab(89.99, -2.99, 58.18) |
| CIE-LCH | lch(89.99, 58.26, 92.94°) |
| OKLab | oklab(91.28% -0.0111 0.1358) |
| OKLCH | oklch(91.28% 0.136 94.7) |
| XYZ | xyz(71.0927, 76.2836, 26.3056) |
| Luminance | 0.7628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 0.70
Yellow Tan
#FFE36E
ΔE00 0.85
Sand Yellow
#FCE166
ΔE00 1.54
Light Gold
#FDDC5C
ΔE00 2.15
Wheat (survey)
#FBDD7E
ΔE00 2.61
Light Mustard
#F7D560
ΔE00 2.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE170 #708EFF
analogous
#FF9A70 #FFE170 #D5FF70
triadic
#FFE170 #70FFE1 #E170FF
tetradic
#FFE170 #70FF9A #708EFF #FF70D5
square
#FFE170 #70FF9A #708EFF #FF70D5
split-complementary
#FFE170 #70D5FF #9A70FF
monochromatic
#F5C100 #FFD433 #FFE170 #FFEEAD #FFF9E0
Accessibility & contrast
On white
1.29
#FFE170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.26
#FFE170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE170
16.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE170 | 1.00 | 1.29 | 16.26 | 16.26 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#FDE675
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #ffe170; /* rgb */ color: rgb(255, 225, 112); /* oklch */ color: oklch(91.3% 0.136 94.7);
Tailwind
colors: {
custom: {
50: '#ffea9c',
500: '#ffe170',
950: '#000000',
},
}SCSS
$custom: #ffe170; $custom-light: #ffea9c; $custom-dark: #000000;
JSON
{
"hex": "#ffe170",
"rgb": {
"r": 255,
"g": 225,
"b": 112
},
"hsl": {
"h": 47.413,
"s": 100,
"l": 71.961
},
"oklch": {
"l": 0.91275,
"c": 0.13627,
"h": 94.7
},
"luminance": 0.7628
}Semantic roles & 50–950 ramp
primary
#FFE170
secondary
#375ADC
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F