#FCDF4B#FCDF4B

#FCDF4B is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.163 H 97.8°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#FCDF4B
RGBrgb(252, 223, 75)
HSLhsl(50, 97%, 64%)
HSVhsv(50, 70%, 99%)
CMYKcmyk(0%, 11.5%, 70.2%, 1.2%)
CIE-LABlab(88.91, -5.45, 72.43)
CIE-LCHlch(88.91, 72.63, 94.30°)
OKLaboklab(90.26% -0.0221 0.161)
OKLCHoklch(90.26% 0.163 97.8)
XYZxyz(67.8058, 73.9822, 17.3637)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF4B #4B68FC
analogous
#FC864B #FCDF4B #C1FC4B
triadic
#FCDF4B #4BFCDF #DF4BFC
tetradic
#FCDF4B #4BFC86 #4B68FC #FC4BC1
square
#FCDF4B #4BFC86 #4B68FC #FC4BC1
split-complementary
#FCDF4B #4BC1FC #864BFC
monochromatic
#C9A903 #FBD40F #FCDF4B #FDEA87 #FEF4C3

Accessibility & contrast

On white

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

On black

15.80
#FCDF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF4B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF4B#FFFFFF#000000##000000
##FCDF4B1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA34
Deuteranopia (green-blind)
#FCE454
Tritanopia (blue-blind)
#FFCFC1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #fcdf4b;
/* rgb */ color: rgb(252, 223, 75);
/* oklch */ color: oklch(90.3% 0.163 97.8);
Tailwind
colors: {
  custom: {
    50: '#ffe886',
    500: '#fcdf4b',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf4b;
$custom-light: #ffe886;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf4b",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 75
  },
  "hsl": {
    "h": 50.169,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90261,
    "c": 0.1625,
    "h": 97.8
  },
  "luminance": 0.73979
}

Semantic roles & 50–950 ramp

primary
#FCDF4B
secondary
#2640C5
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FCDF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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