#FCF97D#FCF97D

#FCF97D is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.146 H 107.6°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FCF97D
RGBrgb(252, 249, 125)
HSLhsl(59, 95%, 74%)
HSVhsv(59, 50%, 99%)
CMYKcmyk(0%, 1.2%, 50.4%, 1.2%)
CIE-LABlab(95.97, -15.05, 59.16)
CIE-LCHlch(95.97, 61.05, 104.27°)
OKLaboklab(96% -0.0442 0.1393)
OKLCHoklch(96% 0.146 107.6)
XYZxyz(77.7242, 89.9295, 32.6619)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF97D #7D80FC
analogous
#FCBA7D #FCF97D #C0FC7D
triadic
#FCF97D #7DFCF9 #F97DFC
tetradic
#FCF97D #7DFCBA #7D80FC #FC7DC0
square
#FCF97D #7DFCBA #7D80FC #FC7DC0
split-complementary
#FCF97D #7DC0FC #BA7DFC
monochromatic
#F9F306 #FBF641 #FCF97D #FDFCB9 #FEFEE1

Accessibility & contrast

On white

1.11
#FCF97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FCF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF97D
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF97D#FFFFFF#000000##000000
##FCF97D1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF683
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf97d;
/* rgb */ color: rgb(252, 249, 125);
/* oklch */ color: oklch(96.0% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fcf97d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf97d;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf97d",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 58.583,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.96001,
    "c": 0.14613,
    "h": 107.6
  },
  "luminance": 0.89927
}

Semantic roles & 50–950 ramp

primary
#FCF97D
secondary
#4347DA
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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