#FFE17C#FFE17C
#FFE17C is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.4% C 0.125 H 93.2°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE17C |
|---|---|
| RGB | rgb(255, 225, 124) |
| HSL | hsl(46, 100%, 74%) |
| HSV | hsv(46, 51%, 100%) |
| CMYK | cmyk(0%, 11.8%, 51.4%, 0%) |
| CIE-LAB | lab(90.12, -2.04, 52.74) |
| CIE-LCH | lch(90.12, 52.78, 92.22°) |
| OKLab | oklab(91.42% -0.007 0.1251) |
| OKLCH | oklch(91.42% 0.125 93.2) |
| XYZ | xyz(71.8059, 76.5689, 30.0618) |
| Luminance | 0.7657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 1.21
Pale Gold
#FDDE6C
ΔE00 1.88
Yellow Tan
#FFE36E
ΔE00 2.29
Sandy
#F1DA7A
ΔE00 2.64
Sand Yellow
#FCE166
ΔE00 3.07
Light Mustard
#F7D560
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE17C #7C9AFF
analogous
#FFA07C #FFE17C #DBFF7C
triadic
#FFE17C #7CFFE1 #E17CFF
tetradic
#FFE17C #7CFFA0 #7C9AFF #FF7CDB
square
#FFE17C #7CFFA0 #7C9AFF #FF7CDB
split-complementary
#FFE17C #7CDBFF #A07CFF
monochromatic
#FFC502 #FFD33F #FFE17C #FFEFB9 #FFF8E0
Accessibility & contrast
On white
1.29
#FFE17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.31
#FFE17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE17C
16.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE17C | 1.00 | 1.29 | 16.31 | 16.31 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD73
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #ffe17c; /* rgb */ color: rgb(255, 225, 124); /* oklch */ color: oklch(91.4% 0.125 93.2);
Tailwind
colors: {
custom: {
50: '#ffeaa4',
500: '#ffe17c',
950: '#000000',
},
}SCSS
$custom: #ffe17c; $custom-light: #ffeaa4; $custom-dark: #000000;
JSON
{
"hex": "#ffe17c",
"rgb": {
"r": 255,
"g": 225,
"b": 124
},
"hsl": {
"h": 46.26,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.91422,
"c": 0.12532,
"h": 93.2
},
"luminance": 0.76566
}Semantic roles & 50–950 ramp
primary
#FFE17C
secondary
#4265DE
accent
#35E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480