#FCF88E#FCF88E

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

Color values

HEX#FCF88E
RGBrgb(252, 248, 142)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.6%, 43.7%, 1.2%)
CIE-LABlab(95.91, -13.05, 51.18)
CIE-LCHlch(95.91, 52.82, 104.31°)
OKLaboklab(96.02% -0.0369 0.123)
OKLCHoklch(96.02% 0.128 106.7)
XYZxyz(78.5963, 89.7852, 38.7759)
Luminance0.8978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF88E #8E92FC
analogous
#FCC18E #FCF88E #C9FC8E
triadic
#FCF88E #8EFCF8 #F88EFC
tetradic
#FCF88E #8EFCC1 #8E92FC #FC8EC9
square
#FCF88E #8EFCC1 #8E92FC #FC8EC9
split-complementary
#FCF88E #8EC9FC #C18EFC
monochromatic
#F9F117 #FAF452 #FCF88E #FEFCCA #FEFDE1

Accessibility & contrast

On white

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

On black

18.96
#FCF88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF88E
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF88E#FFFFFF#000000##000000
##FCF88E1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf88e;
/* rgb */ color: rgb(252, 248, 142);
/* oklch */ color: oklch(96.0% 0.128 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffab1',
    500: '#fcf88e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf88e;
$custom-light: #fffab1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf88e",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 142
  },
  "hsl": {
    "h": 57.818,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.96017,
    "c": 0.12845,
    "h": 106.7
  },
  "luminance": 0.89783
}

Semantic roles & 50–950 ramp

primary
#FCF88E
secondary
#5257DC
accent
#08E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF88E

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

Preview Lab → · Contrast checker → · Palette generator →

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