#FCF99D#FCF99D

#FCF99D is a very light, moderate yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.114 H 106.7°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FCF99D
RGBrgb(252, 249, 157)
HSLhsl(58, 94%, 80%)
HSVhsv(58, 38%, 99%)
CMYKcmyk(0%, 1.2%, 37.7%, 1.2%)
CIE-LABlab(96.36, -12.02, 44.52)
CIE-LCHlch(96.36, 46.11, 105.11°)
OKLaboklab(96.44% -0.0327 0.1088)
OKLCHoklch(96.44% 0.114 106.7)
XYZxyz(80.1075, 90.8829, 45.2140)
Luminance0.9088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF99D #9DA0FC
analogous
#FCC99D #FCF99D #D0FC9D
triadic
#FCF99D #9DFCF9 #F99DFC
tetradic
#FCF99D #9DFCC9 #9DA0FC #FC9DD0
square
#FCF99D #9DFCC9 #9DA0FC #FC9DD0
split-complementary
#FCF99D #9DD0FC #C99DFC
monochromatic
#F8F226 #FAF562 #FCF99D #FEFDD8 #FEFDE1

Accessibility & contrast

On white

1.10
#FCF99D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.18
#FCF99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF99D
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF99D#FFFFFF#000000##000000
##FCF99D1.001.1019.1819.18
#FFFFFF1.101.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF296
Deuteranopia (green-blind)
#FFF6A1
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf99d;
/* rgb */ color: rgb(252, 249, 157);
/* oklch */ color: oklch(96.4% 0.114 106.7);
Tailwind
colors: {
  custom: {
    50: '#fefbbb',
    500: '#fcf99d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf99d;
$custom-light: #fefbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf99d",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 157
  },
  "hsl": {
    "h": 58.105,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96443,
    "c": 0.11363,
    "h": 106.7
  },
  "luminance": 0.90881
}

Semantic roles & 50–950 ramp

primary
#FCF99D
secondary
#5F63DE
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF99D

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

Preview Lab → · Contrast checker → · Palette generator →

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