#FCF97A#FCF97A

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

Color values

HEX#FCF97A
RGBrgb(252, 249, 122)
HSLhsl(59, 96%, 73%)
HSVhsv(59, 52%, 99%)
CMYKcmyk(0%, 1.2%, 51.6%, 1.2%)
CIE-LABlab(95.94, -15.30, 60.48)
CIE-LCHlch(95.94, 62.39, 104.19°)
OKLaboklab(95.97% -0.0452 0.1419)
OKLCHoklch(95.97% 0.149 107.7)
XYZxyz(77.5354, 89.8540, 31.6678)
Luminance0.8985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF97A #7A7DFC
analogous
#FCB87A #FCF97A #BEFC7A
triadic
#FCF97A #7AFCF9 #F97AFC
tetradic
#FCF97A #7AFCB8 #7A7DFC #FC7ABE
square
#FCF97A #7AFCB8 #7A7DFC #FC7ABE
split-complementary
#FCF97A #7ABEFC #B87AFC
monochromatic
#F6F006 #FBF63E #FCF97A #FDFCB6 #FEFEE1

Accessibility & contrast

On white

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

On black

18.97
#FCF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF97A
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF97A#FFFFFF#000000##000000
##FCF97A1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16E
Deuteranopia (green-blind)
#FFF681
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf97a;
/* rgb */ color: rgb(252, 249, 122);
/* oklch */ color: oklch(96.0% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fcf97a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf97a;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf97a",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 58.615,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95966,
    "c": 0.1489,
    "h": 107.7
  },
  "luminance": 0.89852
}

Semantic roles & 50–950 ramp

primary
#FCF97A
secondary
#4144D9
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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