#FCF97E#FCF97E

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

Color values

HEX#FCF97E
RGBrgb(252, 249, 126)
HSLhsl(59, 95%, 74%)
HSVhsv(59, 50%, 99%)
CMYKcmyk(0%, 1.2%, 50%, 1.2%)
CIE-LABlab(95.98, -14.97, 58.72)
CIE-LCHlch(95.98, 60.60, 104.30°)
OKLaboklab(96.01% -0.0439 0.1384)
OKLCHoklch(96.01% 0.145 107.6)
XYZxyz(77.7884, 89.9552, 33.0000)
Luminance0.8995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF97E #7E81FC
analogous
#FCBA7E #FCF97E #C0FC7E
triadic
#FCF97E #7EFCF9 #F97EFC
tetradic
#FCF97E #7EFCBA #7E81FC #FC7EC0
square
#FCF97E #7EFCBA #7E81FC #FC7EC0
split-complementary
#FCF97E #7EC0FC #BA7EFC
monochromatic
#F9F306 #FBF642 #FCF97E #FDFCBA #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF97E#FFFFFF#000000##000000
##FCF97E1.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)
#FFF173
Deuteranopia (green-blind)
#FFF684
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf97e;
/* rgb */ color: rgb(252, 249, 126);
/* oklch */ color: oklch(96.0% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fcf97e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf97e;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf97e",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 58.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96013,
    "c": 0.14521,
    "h": 107.6
  },
  "luminance": 0.89953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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