#FCE257#FCE257

#FCE257 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 91.0% C 0.157 H 98.6°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#FCE257
RGBrgb(252, 226, 87)
HSLhsl(51, 96%, 66%)
HSVhsv(51, 65%, 99%)
CMYKcmyk(0%, 10.3%, 65.5%, 1.2%)
CIE-LABlab(89.76, -6.34, 68.64)
CIE-LCHlch(89.76, 68.93, 95.27°)
OKLaboklab(90.96% -0.0234 0.1549)
OKLCHoklch(90.96% 0.157 98.6)
XYZxyz(69.0646, 75.7795, 20.0040)
Luminance0.7578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE257 #5771FC
analogous
#FC9057 #FCE257 #C4FC57
triadic
#FCE257 #57FCE2 #E257FC
tetradic
#FCE257 #57FC90 #5771FC #FC57C4
square
#FCE257 #57FC90 #5771FC #FC57C4
split-complementary
#FCE257 #57C4FC #9057FC
monochromatic
#D5B404 #FBD81B #FCE257 #FDEC93 #FEF7CF

Accessibility & contrast

On white

1.30
#FCE257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#FCE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE257
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE257#FFFFFF#000000##000000
##FCE2571.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC45
Deuteranopia (green-blind)
#FEE65F
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fce257;
/* rgb */ color: rgb(252, 226, 87);
/* oklch */ color: oklch(91.0% 0.157 98.6);
Tailwind
colors: {
  custom: {
    50: '#ffea8d',
    500: '#fce257',
    950: '#000000',
  },
}
SCSS
$custom: #fce257;
$custom-light: #ffea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce257",
  "rgb": {
    "r": 252,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 50.545,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90956,
    "c": 0.1567,
    "h": 98.6
  },
  "luminance": 0.75776
}

Semantic roles & 50–950 ramp

primary
#FCE257
secondary
#2842CF
accent
#24E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FCE257

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

Preview Lab → · Contrast checker → · Palette generator →

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