#FCDF57#FCDF57

#FCDF57 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.154 H 97.1°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#FCDF57
RGBrgb(252, 223, 87)
HSLhsl(49, 96%, 66%)
HSVhsv(49, 65%, 99%)
CMYKcmyk(0%, 11.5%, 65.5%, 1.2%)
CIE-LABlab(89.00, -4.83, 67.85)
CIE-LCHlch(89.00, 68.02, 94.07°)
OKLaboklab(90.36% -0.0191 0.1533)
OKLCHoklch(90.36% 0.154 97.1)
XYZxyz(68.2560, 74.1623, 19.7345)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF57 #5774FC
analogous
#FC8D57 #FCDF57 #C6FC57
triadic
#FCDF57 #57FCDF #DF57FC
tetradic
#FCDF57 #57FC8D #5774FC #FC57C6
square
#FCDF57 #57FC8D #5774FC #FC57C6
split-complementary
#FCDF57 #57C6FC #8D57FC
monochromatic
#D5B004 #FBD41B #FCDF57 #FDEA93 #FEF6CF

Accessibility & contrast

On white

1.33
#FCDF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#FCDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF57
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF57#FFFFFF#000000##000000
##FCDF571.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA46
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #fcdf57;
/* rgb */ color: rgb(252, 223, 87);
/* oklch */ color: oklch(90.4% 0.154 97.1);
Tailwind
colors: {
  custom: {
    50: '#ffe88d',
    500: '#fcdf57',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf57;
$custom-light: #ffe88d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf57",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 49.455,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90356,
    "c": 0.15444,
    "h": 97.1
  },
  "luminance": 0.74159
}

Semantic roles & 50–950 ramp

primary
#FCDF57
secondary
#2845CF
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FCDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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