#FCF97F#FCF97F

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

Color values

HEX#FCF97F
RGBrgb(252, 249, 127)
HSLhsl(59, 95%, 74%)
HSVhsv(59, 50%, 99%)
CMYKcmyk(0%, 1.2%, 49.6%, 1.2%)
CIE-LABlab(95.99, -14.89, 58.28)
CIE-LCHlch(95.99, 60.15, 104.33°)
OKLaboklab(96.03% -0.0435 0.1376)
OKLCHoklch(96.03% 0.144 107.6)
XYZxyz(77.8532, 89.9812, 33.3416)
Luminance0.8998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF97F #7F82FC
analogous
#FCBB7F #FCF97F #C1FC7F
triadic
#FCF97F #7FFCF9 #F97FFC
tetradic
#FCF97F #7FFCBB #7F82FC #FC7FC1
square
#FCF97F #7FFCBB #7F82FC #FC7FC1
split-complementary
#FCF97F #7FC1FC #BB7FFC
monochromatic
#F9F307 #FBF643 #FCF97F #FDFCBB #FEFEE1

Accessibility & contrast

On white

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

On black

19.00
#FCF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF97F
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF97F#FFFFFF#000000##000000
##FCF97F1.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf97f;
/* rgb */ color: rgb(252, 249, 127);
/* oklch */ color: oklch(96.0% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffba7',
    500: '#fcf97f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf97f;
$custom-light: #fffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf97f",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 58.56,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96025,
    "c": 0.14427,
    "h": 107.6
  },
  "luminance": 0.89979
}

Semantic roles & 50–950 ramp

primary
#FCF97F
secondary
#4549DA
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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