#FCE457#FCE457
#FCE457 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.158 H 99.5°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).
Color values
| HEX | #FCE457 |
|---|---|
| RGB | rgb(252, 228, 87) |
| HSL | hsl(51, 96%, 66%) |
| HSV | hsv(51, 65%, 99%) |
| CMYK | cmyk(0%, 9.5%, 65.5%, 1.2%) |
| CIE-LAB | lab(90.26, -7.33, 69.17) |
| CIE-LCH | lch(90.26, 69.56, 96.05°) |
| OKLab | oklab(91.36% -0.0262 0.1561) |
| OKLCH | oklch(91.36% 0.158 99.5) |
| XYZ | xyz(69.6116, 76.8735, 20.1863) |
| Luminance | 0.7687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.14
Dull Yellow
#EEDC5B
ΔE00 2.73
Banana
#FFE135
ΔE00 2.87
Yellow Tan
#FFE36E
ΔE00 2.88
Light Gold
#FDDC5C
ΔE00 3.11
Yellowish
#FAEE66
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCE457 #576FFC
analogous
#FC9257 #FCE457 #C1FC57
triadic
#FCE457 #57FCE4 #E457FC
tetradic
#FCE457 #57FC92 #576FFC #FC57C1
square
#FCE457 #57FC92 #576FFC #FC57C1
split-complementary
#FCE457 #57C1FC #9257FC
monochromatic
#D5B604 #FBDA1B #FCE457 #FDEE93 #FEF7CF
Accessibility & contrast
On white
1.28
#FCE457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.37
#FCE457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCE457
16.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCE457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCE457 | 1.00 | 1.28 | 16.37 | 16.37 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DE45
Deuteranopia (green-blind)
#FFE75F
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #fce457; /* rgb */ color: rgb(252, 228, 87); /* oklch */ color: oklch(91.4% 0.158 99.5);
Tailwind
colors: {
custom: {
50: '#ffec8d',
500: '#fce457',
950: '#000000',
},
}SCSS
$custom: #fce457; $custom-light: #ffec8d; $custom-dark: #000000;
JSON
{
"hex": "#fce457",
"rgb": {
"r": 252,
"g": 228,
"b": 87
},
"hsl": {
"h": 51.273,
"s": 96.491,
"l": 66.471
},
"oklch": {
"l": 0.91358,
"c": 0.15825,
"h": 99.5
},
"luminance": 0.7687
}Semantic roles & 50–950 ramp
primary
#FCE457
secondary
#2840CF
accent
#21E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F