#FCF97B#FCF97B

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

Color values

HEX#FCF97B
RGBrgb(252, 249, 123)
HSLhsl(59, 96%, 74%)
HSVhsv(59, 51%, 99%)
CMYKcmyk(0%, 1.2%, 51.2%, 1.2%)
CIE-LABlab(95.95, -15.22, 60.05)
CIE-LCHlch(95.95, 61.94, 104.22°)
OKLaboklab(95.98% -0.0449 0.141)
OKLCHoklch(95.98% 0.148 107.7)
XYZxyz(77.5977, 89.8789, 31.9958)
Luminance0.8988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF97B #7B7EFC
analogous
#FCB87B #FCF97B #BEFC7B
triadic
#FCF97B #7BFCF9 #F97BFC
tetradic
#FCF97B #7BFCB8 #7B7EFC #FC7BBE
square
#FCF97B #7BFCB8 #7B7EFC #FC7BBE
split-complementary
#FCF97B #7BBEFC #B87BFC
monochromatic
#F7F106 #FBF63F #FCF97B #FDFCB7 #FEFEE1

Accessibility & contrast

On white

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

On black

18.98
#FCF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF97B
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF97B#FFFFFF#000000##000000
##FCF97B1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf97b;
/* rgb */ color: rgb(252, 249, 123);
/* oklch */ color: oklch(96.0% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fcf97b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf97b;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf97b",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 58.605,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95978,
    "c": 0.14799,
    "h": 107.7
  },
  "luminance": 0.89877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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