#FCF96B#FCF96B

#FCF96B is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.162 H 108.0°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FCF96B
RGBrgb(252, 249, 107)
HSLhsl(59, 96%, 70%)
HSVhsv(59, 58%, 99%)
CMYKcmyk(0%, 1.2%, 57.5%, 1.2%)
CIE-LABlab(95.79, -16.41, 66.87)
CIE-LCHlch(95.79, 68.86, 103.79°)
OKLaboklab(95.81% -0.0499 0.1539)
OKLCHoklch(95.81% 0.162 108)
XYZxyz(76.6767, 89.5105, 27.1452)
Luminance0.8951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF96B #6B6EFC
analogous
#FCB16B #FCF96B #B6FC6B
triadic
#FCF96B #6BFCF9 #F96BFC
tetradic
#FCF96B #6BFCB1 #6B6EFC #FC6BB6
square
#FCF96B #6BFCB1 #6B6EFC #FC6BB6
split-complementary
#FCF96B #6BB6FC #B16BFC
monochromatic
#E8E305 #FBF72F #FCF96B #FDFBA7 #FEFEE1

Accessibility & contrast

On white

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

On black

18.90
#FCF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF96B
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF96B#FFFFFF#000000##000000
##FCF96B1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF573
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf96b;
/* rgb */ color: rgb(252, 249, 107);
/* oklch */ color: oklch(95.8% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fcf96b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf96b;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf96b",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 58.759,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95806,
    "c": 0.16183,
    "h": 108
  },
  "luminance": 0.89508
}

Semantic roles & 50–950 ramp

primary
#FCF96B
secondary
#3437D7
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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