#FCF88D#FCF88D

#FCF88D is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 96.0% C 0.129 H 106.7°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FCF88D
RGBrgb(252, 248, 141)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.6%, 44%, 1.2%)
CIE-LABlab(95.90, -13.15, 51.64)
CIE-LCHlch(95.90, 53.29, 104.28°)
OKLaboklab(96% -0.0372 0.124)
OKLCHoklch(96% 0.129 106.7)
XYZxyz(78.5216, 89.7553, 38.3823)
Luminance0.8975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF88D #8D91FC
analogous
#FCC18D #FCF88D #C9FC8D
triadic
#FCF88D #8DFCF8 #F88DFC
tetradic
#FCF88D #8DFCC1 #8D91FC #FC8DC9
square
#FCF88D #8DFCC1 #8D91FC #FC8DC9
split-complementary
#FCF88D #8DC9FC #C18DFC
monochromatic
#F9F116 #FAF451 #FCF88D #FEFCC9 #FEFDE1

Accessibility & contrast

On white

1.11
#FCF88D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.95
#FCF88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF88D
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF88D#FFFFFF#000000##000000
##FCF88D1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF592
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf88d;
/* rgb */ color: rgb(252, 248, 141);
/* oklch */ color: oklch(96.0% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffab0',
    500: '#fcf88d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf88d;
$custom-light: #fffab0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf88d",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 141
  },
  "hsl": {
    "h": 57.838,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96003,
    "c": 0.12947,
    "h": 106.7
  },
  "luminance": 0.89753
}

Semantic roles & 50–950 ramp

primary
#FCF88D
secondary
#5156DC
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FCF88D

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

Preview Lab → · Contrast checker → · Palette generator →

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