#FFFC8B#FFFC8B

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

Color values

HEX#FFFC8B
RGBrgb(255, 252, 139)
HSLhsl(58, 100%, 77%)
HSVhsv(58, 45%, 100%)
CMYKcmyk(0%, 1.2%, 45.5%, 0%)
CIE-LABlab(97.12, -14.12, 54.14)
CIE-LCHlch(97.12, 55.96, 104.62°)
OKLaboklab(97.03% -0.0404 0.1294)
OKLCHoklch(97.03% 0.136 107.3)
XYZxyz(80.7123, 92.7469, 38.0713)
Luminance0.9274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC8B #8B8EFF
analogous
#FFC28B #FFFC8B #C8FF8B
triadic
#FFFC8B #8BFFFC #FC8BFF
tetradic
#FFFC8B #8BFFC2 #8B8EFF #FF8BC8
square
#FFFC8B #8BFFC2 #8B8EFF #FF8BC8
split-complementary
#FFFC8B #8BC8FF #C28BFF
monochromatic
#FFF911 #FFFA4E #FFFC8B #FFFEC8 #FFFEE0

Accessibility & contrast

On white

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

On black

19.55
#FFFC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC8B
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC8B#FFFFFF#000000##000000
##FFFC8B1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc8b;
/* rgb */ color: rgb(255, 252, 139);
/* oklch */ color: oklch(97.0% 0.136 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffdaf',
    500: '#fffc8b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc8b;
$custom-light: #fffdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc8b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 139
  },
  "hsl": {
    "h": 58.448,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9703,
    "c": 0.13553,
    "h": 107.3
  },
  "luminance": 0.92745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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