#FCE157#FCE157
#FCE157 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.156 H 98.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).
Color values
| HEX | #FCE157 |
|---|---|
| RGB | rgb(252, 225, 87) |
| HSL | hsl(50, 96%, 66%) |
| HSV | hsv(50, 65%, 99%) |
| CMYK | cmyk(0%, 10.7%, 65.5%, 1.2%) |
| CIE-LAB | lab(89.50, -5.83, 68.38) |
| CIE-LCH | lch(89.50, 68.63, 94.88°) |
| OKLab | oklab(90.76% -0.0219 0.1544) |
| OKLCH | oklch(90.76% 0.156 98.1) |
| XYZ | xyz(68.7935, 75.2373, 19.9136) |
| Luminance | 0.7523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.61
Light Gold
#FDDC5C
ΔE00 2.14
Yellow Tan
#FFE36E
ΔE00 2.43
Banana
#FFE135
ΔE00 2.78
Dull Yellow
#EEDC5B
ΔE00 2.82
Pale Gold
#FDDE6C
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCE157 #5772FC
analogous
#FC8F57 #FCE157 #C5FC57
triadic
#FCE157 #57FCE1 #E157FC
tetradic
#FCE157 #57FC8F #5772FC #FC57C5
square
#FCE157 #57FC8F #5772FC #FC57C5
split-complementary
#FCE157 #57C5FC #8F57FC
monochromatic
#D5B304 #FBD61B #FCE157 #FDEC93 #FEF6CF
Accessibility & contrast
On white
1.31
#FCE157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.05
#FCE157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCE157
16.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCE157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCE157 | 1.00 | 1.31 | 16.05 | 16.05 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DC45
Deuteranopia (green-blind)
#FDE55E
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #fce157; /* rgb */ color: rgb(252, 225, 87); /* oklch */ color: oklch(90.8% 0.156 98.1);
Tailwind
colors: {
custom: {
50: '#ffea8d',
500: '#fce157',
950: '#000000',
},
}SCSS
$custom: #fce157; $custom-light: #ffea8d; $custom-dark: #000000;
JSON
{
"hex": "#fce157",
"rgb": {
"r": 252,
"g": 225,
"b": 87
},
"hsl": {
"h": 50.182,
"s": 96.491,
"l": 66.471
},
"oklch": {
"l": 0.90756,
"c": 0.15593,
"h": 98.1
},
"luminance": 0.75234
}Semantic roles & 50–950 ramp
primary
#FCE157
secondary
#2843CF
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F