#FFE56C#FFE56C
#FFE56C is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 92.0% C 0.143 H 97.3°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE56C |
|---|---|
| RGB | rgb(255, 229, 108) |
| HSL | hsl(49, 100%, 71%) |
| HSV | hsv(49, 58%, 100%) |
| CMYK | cmyk(0%, 10.2%, 57.6%, 0%) |
| CIE-LAB | lab(90.96, -5.29, 61.09) |
| CIE-LCH | lch(90.96, 61.32, 94.94°) |
| OKLab | oklab(92.03% -0.0182 0.1416) |
| OKLCH | oklch(92.03% 0.143 97.3) |
| XYZ | xyz(71.9689, 78.3845, 25.5233) |
| Luminance | 0.7838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 0.82
Sand Yellow
#FCE166
ΔE00 0.92
Pale Gold
#FDDE6C
ΔE00 2.12
Light Gold
#FDDC5C
ΔE00 2.63
Sandy Yellow
#FDEE73
ΔE00 3.25
Dull Yellow
#EEDC5B
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE56C #6C86FF
analogous
#FF9B6C #FFE56C #CFFF6C
triadic
#FFE56C #6CFFE5 #E56CFF
tetradic
#FFE56C #6CFF9B #6C86FF #FF6CCF
square
#FFE56C #6CFF9B #6C86FF #FF6CCF
split-complementary
#FFE56C #6CCFFF #9B6CFF
monochromatic
#F1C600 #FFDA2F #FFE56C #FFF0A9 #FFFAE0
Accessibility & contrast
On white
1.26
#FFE56C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.68
#FFE56C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE56C
16.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE56C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE56C | 1.00 | 1.26 | 16.68 | 16.68 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E060
Deuteranopia (green-blind)
#FFE972
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #ffe56c; /* rgb */ color: rgb(255, 229, 108); /* oklch */ color: oklch(92.0% 0.143 97.3);
Tailwind
colors: {
custom: {
50: '#ffec9a',
500: '#ffe56c',
950: '#000000',
},
}SCSS
$custom: #ffe56c; $custom-light: #ffec9a; $custom-dark: #000000;
JSON
{
"hex": "#ffe56c",
"rgb": {
"r": 255,
"g": 229,
"b": 108
},
"hsl": {
"h": 49.388,
"s": 100,
"l": 71.176
},
"oklch": {
"l": 0.92025,
"c": 0.1428,
"h": 97.3
},
"luminance": 0.78381
}Semantic roles & 50–950 ramp
primary
#FFE56C
secondary
#3452DB
accent
#29E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F