#FCF58D#FCF58D

#FCF58D is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.126 H 105.2°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FCF58D
RGBrgb(252, 245, 141)
HSLhsl(56, 95%, 77%)
HSVhsv(56, 44%, 99%)
CMYKcmyk(0%, 2.8%, 44%, 1.2%)
CIE-LABlab(95.13, -11.68, 50.70)
CIE-LCHlch(95.13, 52.02, 102.97°)
OKLaboklab(95.4% -0.033 0.1219)
OKLCHoklch(95.4% 0.126 105.2)
XYZxyz(77.6067, 87.9254, 38.0773)
Luminance0.8792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF58D #8D94FC
analogous
#FCBE8D #FCF58D #CCFC8D
triadic
#FCF58D #8DFCF5 #F58DFC
tetradic
#FCF58D #8DFCBE #8D94FC #FC8DCC
square
#FCF58D #8DFCBE #8D94FC #FC8DCC
split-complementary
#FCF58D #8DCCFC #BE8DFC
monochromatic
#F9EB16 #FAF051 #FCF58D #FEFAC9 #FEFCE1

Accessibility & contrast

On white

1.13
#FCF58D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FCF58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF58D
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF58D#FFFFFF#000000##000000
##FCF58D1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE84
Deuteranopia (green-blind)
#FFF392
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf58d;
/* rgb */ color: rgb(252, 245, 141);
/* oklch */ color: oklch(95.4% 0.126 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff8b0',
    500: '#fcf58d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf58d;
$custom-light: #fff8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf58d",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 141
  },
  "hsl": {
    "h": 56.216,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95395,
    "c": 0.12629,
    "h": 105.2
  },
  "luminance": 0.87923
}

Semantic roles & 50–950 ramp

primary
#FCF58D
secondary
#515ADC
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FCF58D

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

Preview Lab → · Contrast checker → · Palette generator →

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