#FFFC8A#FFFC8A

#FFFC8A is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 97.0% C 0.137 H 107.4°. Best body text is #000000 at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#FFFC8A
RGBrgb(255, 252, 138)
HSLhsl(58, 100%, 77%)
HSVhsv(58, 46%, 100%)
CMYKcmyk(0%, 1.2%, 45.9%, 0%)
CIE-LABlab(97.11, -14.22, 54.60)
CIE-LCHlch(97.11, 56.42, 104.59°)
OKLaboklab(97.02% -0.0407 0.1303)
OKLCHoklch(97.02% 0.137 107.4)
XYZxyz(80.6396, 92.7178, 37.6883)
Luminance0.9272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC8A #8A8DFF
analogous
#FFC28A #FFFC8A #C7FF8A
triadic
#FFFC8A #8AFFFC #FC8AFF
tetradic
#FFFC8A #8AFFC2 #8A8DFF #FF8AC7
square
#FFFC8A #8AFFC2 #8A8DFF #FF8AC7
split-complementary
#FFFC8A #8AC7FF #C28AFF
monochromatic
#FFF910 #FFFA4D #FFFC8A #FFFEC7 #FFFEE0

Accessibility & contrast

On white

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

On black

19.54
#FFFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC8A
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC8A#FFFFFF#000000##000000
##FFFC8A1.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF98F
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc8a;
/* rgb */ color: rgb(255, 252, 138);
/* oklch */ color: oklch(97.0% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffdae',
    500: '#fffc8a',
    950: '#000000',
  },
}
SCSS
$custom: #fffc8a;
$custom-light: #fffdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc8a",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 58.462,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97016,
    "c": 0.13652,
    "h": 107.4
  },
  "luminance": 0.92716
}

Semantic roles & 50–950 ramp

primary
#FFFC8A
secondary
#4E51E0
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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