#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
RGBrgb(252, 228, 87)
HSLhsl(51, 96%, 66%)
HSVhsv(51, 65%, 99%)
CMYKcmyk(0%, 9.5%, 65.5%, 1.2%)
CIE-LABlab(90.26, -7.33, 69.17)
CIE-LCHlch(90.26, 69.56, 96.05°)
OKLaboklab(91.36% -0.0262 0.1561)
OKLCHoklch(91.36% 0.158 99.5)
XYZxyz(69.6116, 76.8735, 20.1863)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##FCE4571.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.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

Preview Lab

Preview with #FCE457

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FCE457 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva