#FCDF5F#FCDF5F

#FCDF5F is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.148 H 96.5°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#FCDF5F
RGBrgb(252, 223, 95)
HSLhsl(49, 96%, 68%)
HSVhsv(49, 62%, 99%)
CMYKcmyk(0%, 11.5%, 62.3%, 1.2%)
CIE-LABlab(89.06, -4.36, 64.59)
CIE-LCHlch(89.06, 64.73, 93.86°)
OKLaboklab(90.43% -0.0168 0.1475)
OKLCHoklch(90.43% 0.148 96.5)
XYZxyz(68.6011, 74.3003, 21.5522)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF5F #5F7CFC
analogous
#FC905F #FCDF5F #CBFC5F
triadic
#FCDF5F #5FFCDF #DF5FFC
tetradic
#FCDF5F #5FFC90 #5F7CFC #FC5FCB
square
#FCDF5F #5FFC90 #5F7CFC #FC5FCB
split-complementary
#FCDF5F #5FCBFC #905FFC
monochromatic
#DCB504 #FBD323 #FCDF5F #FDEB9B #FEF7D7

Accessibility & contrast

On white

1.32
#FCDF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#FCDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF5F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF5F#FFFFFF#000000##000000
##FCDF5F1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA50
Deuteranopia (green-blind)
#FBE465
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #fcdf5f;
/* rgb */ color: rgb(252, 223, 95);
/* oklch */ color: oklch(90.4% 0.148 96.5);
Tailwind
colors: {
  custom: {
    50: '#ffe891',
    500: '#fcdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf5f;
$custom-light: #ffe891;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf5f",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 48.917,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90428,
    "c": 0.14848,
    "h": 96.5
  },
  "luminance": 0.74297
}

Semantic roles & 50–950 ramp

primary
#FCDF5F
secondary
#2A49D5
accent
#2AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #FCDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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