#FCDF7B#FCDF7B

#FCDF7B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.124 H 93.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#FCDF7B
RGBrgb(252, 223, 123)
HSLhsl(47, 96%, 74%)
HSVhsv(47, 51%, 99%)
CMYKcmyk(0%, 11.5%, 51.2%, 1.2%)
CIE-LABlab(89.35, -2.32, 52.22)
CIE-LCHlch(89.35, 52.27, 92.54°)
OKLaboklab(90.74% -0.0078 0.1239)
OKLCHoklch(90.74% 0.124 93.6)
XYZxyz(70.1102, 74.9039, 29.5000)
Luminance0.7490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF7B #7B98FC
analogous
#FC9E7B #FCDF7B #D8FC7B
triadic
#FCDF7B #7BFCDF #DF7BFC
tetradic
#FCDF7B #7BFC9E #7B98FC #FC7BD8
square
#FCDF7B #7BFC9E #7B98FC #FC7BD8
split-complementary
#FCDF7B #7BD8FC #9E7BFC
monochromatic
#F7C106 #FBD03F #FCDF7B #FDEEB7 #FEF8E1

Accessibility & contrast

On white

1.31
#FCDF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#FCDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF7B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF7B#FFFFFF#000000##000000
##FCDF7B1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB72
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #fcdf7b;
/* rgb */ color: rgb(252, 223, 123);
/* oklch */ color: oklch(90.7% 0.124 93.6);
Tailwind
colors: {
  custom: {
    50: '#ffe8a3',
    500: '#fcdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf7b;
$custom-light: #ffe8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf7b",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 46.512,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90744,
    "c": 0.12418,
    "h": 93.6
  },
  "luminance": 0.74901
}

Semantic roles & 50–950 ramp

primary
#FCDF7B
secondary
#4264D9
accent
#34E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FCDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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