#FFFC9F#FFFC9F

#FFFC9F is a very light, moderate yellow. Relative luminance 0.934; OKLCH L 97.3% C 0.115 H 106.8°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#FFFC9F
RGBrgb(255, 252, 159)
HSLhsl(58, 100%, 81%)
HSVhsv(58, 38%, 100%)
CMYKcmyk(0%, 1.2%, 37.6%, 0%)
CIE-LABlab(97.38, -12.14, 44.89)
CIE-LCHlch(97.38, 46.51, 105.13°)
OKLaboklab(97.32% -0.033 0.1098)
OKLCHoklch(97.32% 0.115 106.8)
XYZxyz(82.3096, 93.3858, 46.4835)
Luminance0.9338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9F #9FA2FF
analogous
#FFCC9F #FFFC9F #D2FF9F
triadic
#FFFC9F #9FFFFC #FC9FFF
tetradic
#FFFC9F #9FFFCC #9FA2FF #FF9FD2
square
#FFFC9F #9FFFCC #9FA2FF #FF9FD2
split-complementary
#FFFC9F #9FD2FF #CC9FFF
monochromatic
#FFF825 #FFFA62 #FFFC9F #FFFEDC #FFFEE0

Accessibility & contrast

On white

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

On black

19.68
#FFFC9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC9F
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC9F#FFFFFF#000000##000000
##FFFC9F1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF598
Deuteranopia (green-blind)
#FFF9A3
Tritanopia (blue-blind)
#FFF1E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc9f;
/* rgb */ color: rgb(255, 252, 159);
/* oklch */ color: oklch(97.3% 0.115 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffdbc',
    500: '#fffc9f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9f;
$custom-light: #fffdbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 159
  },
  "hsl": {
    "h": 58.125,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.9732,
    "c": 0.11462,
    "h": 106.8
  },
  "luminance": 0.93384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC9F

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

Preview Lab → · Contrast checker → · Palette generator →

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