#FFFC95#FFFC95

#FFFC95 is a very light, vivid yellow. Relative luminance 0.931; OKLCH L 97.2% C 0.125 H 107.1°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FFFC95
RGBrgb(255, 252, 149)
HSLhsl(58, 100%, 79%)
HSVhsv(58, 42%, 100%)
CMYKcmyk(0%, 1.2%, 41.6%, 0%)
CIE-LABlab(97.25, -13.17, 49.56)
CIE-LCHlch(97.25, 51.28, 104.88°)
OKLaboklab(97.17% -0.0368 0.1198)
OKLCHoklch(97.17% 0.125 107.1)
XYZxyz(81.4767, 93.0526, 42.0969)
Luminance0.9305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC95 #9598FF
analogous
#FFC795 #FFFC95 #CDFF95
triadic
#FFFC95 #95FFFC #FC95FF
tetradic
#FFFC95 #95FFC7 #9598FF #FF95CD
square
#FFFC95 #95FFC7 #9598FF #FF95CD
split-complementary
#FFFC95 #95CDFF #C795FF
monochromatic
#FFF91B #FFFA58 #FFFC95 #FFFED2 #FFFEE0

Accessibility & contrast

On white

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

On black

19.61
#FFFC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC95
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC95#FFFFFF#000000##000000
##FFFC951.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58D
Deuteranopia (green-blind)
#FFF99A
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc95;
/* rgb */ color: rgb(255, 252, 149);
/* oklch */ color: oklch(97.2% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffdb6',
    500: '#fffc95',
    950: '#000000',
  },
}
SCSS
$custom: #fffc95;
$custom-light: #fffdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc95",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 149
  },
  "hsl": {
    "h": 58.302,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.97169,
    "c": 0.12531,
    "h": 107.1
  },
  "luminance": 0.93051
}

Semantic roles & 50–950 ramp

primary
#FFFC95
secondary
#575BE1
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC95

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

Preview Lab → · Contrast checker → · Palette generator →

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