#FCF489#FCF489

#FCF489 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.129 H 104.8°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#FCF489
RGBrgb(252, 244, 137)
HSLhsl(56, 95%, 76%)
HSVhsv(56, 46%, 99%)
CMYKcmyk(0%, 3.2%, 45.6%, 1.2%)
CIE-LABlab(94.83, -11.56, 52.22)
CIE-LCHlch(94.83, 53.49, 102.48°)
OKLaboklab(95.14% -0.0331 0.125)
OKLCHoklch(95.14% 0.129 104.8)
XYZxyz(77.0127, 87.2051, 36.4375)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF489 #8991FC
analogous
#FCBB89 #FCF489 #CBFC89
triadic
#FCF489 #89FCF4 #F489FC
tetradic
#FCF489 #89FCBB #8991FC #FC89CB
square
#FCF489 #89FCBB #8991FC #FC89CB
split-complementary
#FCF489 #89CBFC #BB89FC
monochromatic
#F9E912 #FAEE4D #FCF489 #FEFAC5 #FEFCE1

Accessibility & contrast

On white

1.14
#FCF489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#FCF489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF489
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF489#FFFFFF#000000##000000
##FCF4891.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFF38E
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf489;
/* rgb */ color: rgb(252, 244, 137);
/* oklch */ color: oklch(95.1% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff7ad',
    500: '#fcf489',
    950: '#000000',
  },
}
SCSS
$custom: #fcf489;
$custom-light: #fff7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf489",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 137
  },
  "hsl": {
    "h": 55.826,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95137,
    "c": 0.12932,
    "h": 104.8
  },
  "luminance": 0.87203
}

Semantic roles & 50–950 ramp

primary
#FCF489
secondary
#4E58DB
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF489

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

Preview Lab → · Contrast checker → · Palette generator →

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