#FCDB78#FCDB78

#FCDB78 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.9% C 0.124 H 91.4°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#FCDB78
RGBrgb(252, 219, 120)
HSLhsl(45, 96%, 73%)
HSVhsv(45, 52%, 99%)
CMYKcmyk(0%, 13.1%, 52.4%, 1.2%)
CIE-LABlab(88.31, -0.54, 52.40)
CIE-LCHlch(88.31, 52.41, 90.59°)
OKLaboklab(89.92% -0.0029 0.1241)
OKLCHoklch(89.92% 0.124 91.4)
XYZxyz(68.8692, 72.7178, 28.1740)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDB78 #7899FC
analogous
#FC9978 #FCDB78 #DBFC78
triadic
#FCDB78 #78FCDB #DB78FC
tetradic
#FCDB78 #78FC99 #7899FC #FC78DB
square
#FCDB78 #78FC99 #7899FC #FC78DB
split-complementary
#FCDB78 #78DBFC #9978FC
monochromatic
#F4B805 #FBCB3C #FCDB78 #FDEBB4 #FEF7E1

Accessibility & contrast

On white

1.35
#FCDB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#FCDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDB78
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDB78#FFFFFF#000000##000000
##FCDB781.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#F6E27C
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fcdb78;
/* rgb */ color: rgb(252, 219, 120);
/* oklch */ color: oklch(89.9% 0.124 91.4);
Tailwind
colors: {
  custom: {
    50: '#ffe5a1',
    500: '#fcdb78',
    950: '#000000',
  },
}
SCSS
$custom: #fcdb78;
$custom-light: #ffe5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdb78",
  "rgb": {
    "r": 252,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 45,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89916,
    "c": 0.12412,
    "h": 91.4
  },
  "luminance": 0.72715
}

Semantic roles & 50–950 ramp

primary
#FCDB78
secondary
#3F66D9
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FCDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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