#FCF89F#FCF89F

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

Color values

HEX#FCF89F
RGBrgb(252, 248, 159)
HSLhsl(57, 94%, 81%)
HSVhsv(57, 37%, 99%)
CMYKcmyk(0%, 1.6%, 36.9%, 1.2%)
CIE-LABlab(96.14, -11.31, 43.25)
CIE-LCHlch(96.14, 44.70, 104.66°)
OKLaboklab(96.27% -0.0305 0.106)
OKLCHoklch(96.27% 0.11 106.1)
XYZxyz(79.9714, 90.3352, 46.0179)
Luminance0.9033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF89F #9FA3FC
analogous
#FCC99F #FCF89F #D1FC9F
triadic
#FCF89F #9FFCF8 #F89FFC
tetradic
#FCF89F #9FFCC9 #9FA3FC #FC9FD1
square
#FCF89F #9FFCC9 #9FA3FC #FC9FD1
split-complementary
#FCF89F #9FD1FC #C99FFC
monochromatic
#F8EF28 #FAF464 #FCF89F #FEFCDA #FEFDE1

Accessibility & contrast

On white

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

On black

19.07
#FCF89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF89F
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF89F#FFFFFF#000000##000000
##FCF89F1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf89f;
/* rgb */ color: rgb(252, 248, 159);
/* oklch */ color: oklch(96.3% 0.110 106.1);
Tailwind
colors: {
  custom: {
    50: '#fefabc',
    500: '#fcf89f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf89f;
$custom-light: #fefabc;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf89f",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 57.419,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96272,
    "c": 0.11031,
    "h": 106.1
  },
  "luminance": 0.90333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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