#FFFC9B#FFFC9B

#FFFC9B is a very light, moderate yellow. Relative luminance 0.932; OKLCH L 97.3% C 0.119 H 106.9°. Best body text is #000000 at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#FFFC9B
RGBrgb(255, 252, 155)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 39%, 100%)
CMYKcmyk(0%, 1.2%, 39.2%, 0%)
CIE-LABlab(97.33, -12.56, 46.77)
CIE-LCHlch(97.33, 48.42, 105.03°)
OKLaboklab(97.26% -0.0345 0.1138)
OKLCHoklch(97.26% 0.119 106.9)
XYZxyz(81.9681, 93.2492, 44.6850)
Luminance0.9325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9B #9B9EFF
analogous
#FFCA9B #FFFC9B #D0FF9B
triadic
#FFFC9B #9BFFFC #FC9BFF
tetradic
#FFFC9B #9BFFCA #9B9EFF #FF9BD0
square
#FFFC9B #9BFFCA #9B9EFF #FF9BD0
split-complementary
#FFFC9B #9BD0FF #CA9BFF
monochromatic
#FFF821 #FFFA5E #FFFC9B #FFFED8 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.65
#FFFC9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC9B
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC9B#FFFFFF#000000##000000
##FFFC9B1.001.0719.6519.65
#FFFFFF1.071.0021.0021.00
#00000019.6521.001.001.00
##00000019.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF594
Deuteranopia (green-blind)
#FFF99F
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc9b;
/* rgb */ color: rgb(255, 252, 155);
/* oklch */ color: oklch(97.3% 0.119 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffdba',
    500: '#fffc9b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9b;
$custom-light: #fffdba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 155
  },
  "hsl": {
    "h": 58.2,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.97258,
    "c": 0.11895,
    "h": 106.9
  },
  "luminance": 0.93247
}

Semantic roles & 50–950 ramp

primary
#FFFC9B
secondary
#5C60E2
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFC9B

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

Preview Lab → · Contrast checker → · Palette generator →

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