#FFFC9E#FFFC9E

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

Color values

HEX#FFFC9E
RGBrgb(255, 252, 158)
HSLhsl(58, 100%, 81%)
HSVhsv(58, 38%, 100%)
CMYKcmyk(0%, 1.2%, 38%, 0%)
CIE-LABlab(97.37, -12.25, 45.36)
CIE-LCHlch(97.37, 46.99, 105.11°)
OKLaboklab(97.3% -0.0334 0.1108)
OKLCHoklch(97.3% 0.116 106.8)
XYZxyz(82.2231, 93.3512, 46.0283)
Luminance0.9335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC9E #9EA1FF
analogous
#FFCB9E #FFFC9E #D1FF9E
triadic
#FFFC9E #9EFFFC #FC9EFF
tetradic
#FFFC9E #9EFFCB #9EA1FF #FF9ED1
square
#FFFC9E #9EFFCB #9EA1FF #FF9ED1
split-complementary
#FFFC9E #9ED1FF #CB9EFF
monochromatic
#FFF824 #FFFA61 #FFFC9E #FFFEDB #FFFEE0

Accessibility & contrast

On white

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

On black

19.67
#FFFC9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC9E
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC9E#FFFFFF#000000##000000
##FFFC9E1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc9e;
/* rgb */ color: rgb(255, 252, 158);
/* oklch */ color: oklch(97.3% 0.116 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffdbc',
    500: '#fffc9e',
    950: '#000000',
  },
}
SCSS
$custom: #fffc9e;
$custom-light: #fffdbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc9e",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 158
  },
  "hsl": {
    "h": 58.144,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.97304,
    "c": 0.11571,
    "h": 106.8
  },
  "luminance": 0.93349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC9E

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

Preview Lab → · Contrast checker → · Palette generator →

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