#FCDC7A#FCDC7A

#FCDC7A is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.1% C 0.123 H 91.7°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#FCDC7A
RGBrgb(252, 220, 122)
HSLhsl(45, 96%, 73%)
HSVhsv(45, 52%, 99%)
CMYKcmyk(0%, 12.7%, 51.6%, 1.2%)
CIE-LABlab(88.59, -0.88, 51.78)
CIE-LCHlch(88.59, 51.79, 90.97°)
OKLaboklab(90.14% -0.0037 0.1229)
OKLCHoklch(90.14% 0.123 91.7)
XYZxyz(69.2535, 73.2902, 28.9072)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDC7A #7A9AFC
analogous
#FC9B7A #FCDC7A #DBFC7A
triadic
#FCDC7A #7AFCDC #DC7AFC
tetradic
#FCDC7A #7AFC9B #7A9AFC #FC7ADB
square
#FCDC7A #7AFC9B #7A9AFC #FC7ADB
split-complementary
#FCDC7A #7ADBFC #9B7AFC
monochromatic
#F6BB06 #FBCC3E #FCDC7A #FDECB6 #FEF7E1

Accessibility & contrast

On white

1.34
#FCDC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#FCDC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDC7A
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDC7A#FFFFFF#000000##000000
##FCDC7A1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD971
Deuteranopia (green-blind)
#F7E27E
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fcdc7a;
/* rgb */ color: rgb(252, 220, 122);
/* oklch */ color: oklch(90.1% 0.123 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffe6a2',
    500: '#fcdc7a',
    950: '#000000',
  },
}
SCSS
$custom: #fcdc7a;
$custom-light: #ffe6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdc7a",
  "rgb": {
    "r": 252,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 45.231,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90139,
    "c": 0.12295,
    "h": 91.7
  },
  "luminance": 0.73287
}

Semantic roles & 50–950 ramp

primary
#FCDC7A
secondary
#4166D9
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FCDC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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