#FCF89E#FCF89E

#FCF89E is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.3% C 0.111 H 106.1°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FCF89E
RGBrgb(252, 248, 158)
HSLhsl(57, 94%, 80%)
HSVhsv(57, 37%, 99%)
CMYKcmyk(0%, 1.6%, 37.3%, 1.2%)
CIE-LABlab(96.12, -11.42, 43.72)
CIE-LCHlch(96.12, 45.19, 104.64°)
OKLaboklab(96.26% -0.0309 0.107)
OKLCHoklch(96.26% 0.111 106.1)
XYZxyz(79.8850, 90.3006, 45.5627)
Luminance0.9030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF89E #9EA2FC
analogous
#FCC99E #FCF89E #D1FC9E
triadic
#FCF89E #9EFCF8 #F89EFC
tetradic
#FCF89E #9EFCC9 #9EA2FC #FC9ED1
square
#FCF89E #9EFCC9 #9EA2FC #FC9ED1
split-complementary
#FCF89E #9ED1FC #C99EFC
monochromatic
#F8EF27 #FAF463 #FCF89E #FEFCD9 #FEFDE1

Accessibility & contrast

On white

1.10
#FCF89E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#FCF89E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF89E
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF89E#FFFFFF#000000##000000
##FCF89E1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF197
Deuteranopia (green-blind)
#FFF6A2
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf89e;
/* rgb */ color: rgb(252, 248, 158);
/* oklch */ color: oklch(96.3% 0.111 106.1);
Tailwind
colors: {
  custom: {
    50: '#fefabb',
    500: '#fcf89e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf89e;
$custom-light: #fefabb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf89e",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 158
  },
  "hsl": {
    "h": 57.447,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96256,
    "c": 0.11142,
    "h": 106.1
  },
  "luminance": 0.90299
}

Semantic roles & 50–950 ramp

primary
#FCF89E
secondary
#6065DE
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF89E

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

Preview Lab → · Contrast checker → · Palette generator →

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