#FCF08D#FCF08D

#FCF08D is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.4% C 0.121 H 102.4°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FCF08D
RGBrgb(252, 240, 141)
HSLhsl(54, 95%, 77%)
HSVhsv(54, 44%, 99%)
CMYKcmyk(0%, 4.8%, 44%, 1.2%)
CIE-LABlab(93.86, -9.21, 49.12)
CIE-LCHlch(93.86, 49.98, 100.62°)
OKLaboklab(94.39% -0.0259 0.1184)
OKLCHoklch(94.39% 0.121 102.4)
XYZxyz(76.1144, 84.9410, 37.5799)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF08D #8D99FC
analogous
#FCB98D #FCF08D #D0FC8D
triadic
#FCF08D #8DFCF0 #F08DFC
tetradic
#FCF08D #8DFCB9 #8D99FC #FC8DD0
square
#FCF08D #8DFCB9 #8D99FC #FC8DD0
split-complementary
#FCF08D #8DD0FC #B98DFC
monochromatic
#F9E016 #FAE851 #FCF08D #FEF8C9 #FEFBE1

Accessibility & contrast

On white

1.17
#FCF08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#FCF08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF08D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF08D#FFFFFF#000000##000000
##FCF08D1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFF091
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf08d;
/* rgb */ color: rgb(252, 240, 141);
/* oklch */ color: oklch(94.4% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff4b0',
    500: '#fcf08d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf08d;
$custom-light: #fff4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf08d",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 141
  },
  "hsl": {
    "h": 53.514,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94385,
    "c": 0.12117,
    "h": 102.4
  },
  "luminance": 0.84939
}

Semantic roles & 50–950 ramp

primary
#FCF08D
secondary
#5160DC
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FCF08D

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

Preview Lab → · Contrast checker → · Palette generator →

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