#FFFC9C#FFFC9C

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

Color values

HEX#FFFC9C
RGBrgb(255, 252, 156)
HSLhsl(58, 100%, 81%)
HSVhsv(58, 39%, 100%)
CMYKcmyk(0%, 1.2%, 38.8%, 0%)
CIE-LABlab(97.34, -12.46, 46.30)
CIE-LCHlch(97.34, 47.95, 105.06°)
OKLaboklab(97.27% -0.0342 0.1128)
OKLCHoklch(97.27% 0.118 106.9)
XYZxyz(82.0524, 93.2829, 45.1291)
Luminance0.9328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9C #9C9FFF
analogous
#FFCA9C #FFFC9C #D0FF9C
triadic
#FFFC9C #9CFFFC #FC9CFF
tetradic
#FFFC9C #9CFFCA #9C9FFF #FF9CD0
square
#FFFC9C #9CFFCA #9C9FFF #FF9CD0
split-complementary
#FFFC9C #9CD0FF #CA9CFF
monochromatic
#FFF822 #FFFA5F #FFFC9C #FFFED9 #FFFEE0

Accessibility & contrast

On white

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

On black

19.66
#FFFC9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC9C
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC9C#FFFFFF#000000##000000
##FFFC9C1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc9c;
/* rgb */ color: rgb(255, 252, 156);
/* oklch */ color: oklch(97.3% 0.118 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffdba',
    500: '#fffc9c',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9c;
$custom-light: #fffdba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9c",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 156
  },
  "hsl": {
    "h": 58.182,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.97273,
    "c": 0.11787,
    "h": 106.9
  },
  "luminance": 0.93281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC9C

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

Preview Lab → · Contrast checker → · Palette generator →

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