#FCF488#FCF488

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

Color values

HEX#FCF488
RGBrgb(252, 244, 136)
HSLhsl(56, 95%, 76%)
HSVhsv(56, 46%, 99%)
CMYKcmyk(0%, 3.2%, 46%, 1.2%)
CIE-LABlab(94.81, -11.65, 52.68)
CIE-LCHlch(94.81, 53.96, 102.47°)
OKLaboklab(95.12% -0.0334 0.126)
OKLCHoklch(95.12% 0.13 104.8)
XYZxyz(76.9413, 87.1765, 36.0615)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF488 #8890FC
analogous
#FCBA88 #FCF488 #CAFC88
triadic
#FCF488 #88FCF4 #F488FC
tetradic
#FCF488 #88FCBA #8890FC #FC88CA
square
#FCF488 #88FCBA #8890FC #FC88CA
split-complementary
#FCF488 #88CAFC #BA88FC
monochromatic
#F9E911 #FAEE4C #FCF488 #FEFAC4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.43
#FCF488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF488
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF488#FFFFFF#000000##000000
##FCF4881.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf488;
/* rgb */ color: rgb(252, 244, 136);
/* oklch */ color: oklch(95.1% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff7ad',
    500: '#fcf488',
    950: '#000000',
  },
}
SCSS
$custom: #fcf488;
$custom-light: #fff7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf488",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 55.862,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95124,
    "c": 0.13032,
    "h": 104.8
  },
  "luminance": 0.87174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF488

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

Preview Lab → · Contrast checker → · Palette generator →

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