#FCDF51#FCDF51

#FCDF51 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.159 H 97.5°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#FCDF51
RGBrgb(252, 223, 81)
HSLhsl(50, 97%, 65%)
HSVhsv(50, 68%, 99%)
CMYKcmyk(0%, 11.5%, 67.9%, 1.2%)
CIE-LABlab(88.95, -5.15, 70.19)
CIE-LCHlch(88.95, 70.38, 94.20°)
OKLaboklab(90.31% -0.0207 0.1573)
OKLCHoklch(90.31% 0.159 97.5)
XYZxyz(68.0210, 74.0682, 18.4967)
Luminance0.7407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF51 #516EFC
analogous
#FC8A51 #FCDF51 #C3FC51
triadic
#FCDF51 #51FCDF #DF51FC
tetradic
#FCDF51 #51FC8A #516EFC #FC51C3
square
#FCDF51 #51FC8A #516EFC #FC51C3
split-complementary
#FCDF51 #51C3FC #8A51FC
monochromatic
#CFAD04 #FBD415 #FCDF51 #FDEA8D #FEF5C9

Accessibility & contrast

On white

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

On black

15.81
#FCDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF51
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF51#FFFFFF#000000##000000
##FCDF511.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA3D
Deuteranopia (green-blind)
#FCE459
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #fcdf51;
/* rgb */ color: rgb(252, 223, 81);
/* oklch */ color: oklch(90.3% 0.159 97.5);
Tailwind
colors: {
  custom: {
    50: '#ffe889',
    500: '#fcdf51',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf51;
$custom-light: #ffe889;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf51",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 49.825,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90306,
    "c": 0.15861,
    "h": 97.5
  },
  "luminance": 0.74065
}

Semantic roles & 50–950 ramp

primary
#FCDF51
secondary
#2743CA
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FCDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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