#FCF58E#FCF58E

#FCF58E is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.4% C 0.125 H 105.1°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#FCF58E
RGBrgb(252, 245, 142)
HSLhsl(56, 95%, 77%)
HSVhsv(56, 44%, 99%)
CMYKcmyk(0%, 2.8%, 43.7%, 1.2%)
CIE-LABlab(95.14, -11.58, 50.23)
CIE-LCHlch(95.14, 51.55, 102.98°)
OKLaboklab(95.41% -0.0326 0.1209)
OKLCHoklch(95.41% 0.125 105.1)
XYZxyz(77.6814, 87.9553, 38.4710)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF58E #8E95FC
analogous
#FCBE8E #FCF58E #CCFC8E
triadic
#FCF58E #8EFCF5 #F58EFC
tetradic
#FCF58E #8EFCBE #8E95FC #FC8ECC
square
#FCF58E #8EFCBE #8E95FC #FC8ECC
split-complementary
#FCF58E #8ECCFC #BE8EFC
monochromatic
#F9EA17 #FAF052 #FCF58E #FEFACA #FEFCE1

Accessibility & contrast

On white

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

On black

18.59
#FCF58E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF58E
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF58E#FFFFFF#000000##000000
##FCF58E1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf58e;
/* rgb */ color: rgb(252, 245, 142);
/* oklch */ color: oklch(95.4% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff8b1',
    500: '#fcf58e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf58e;
$custom-light: #fff8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf58e",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 142
  },
  "hsl": {
    "h": 56.182,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95409,
    "c": 0.12526,
    "h": 105.1
  },
  "luminance": 0.87953
}

Semantic roles & 50–950 ramp

primary
#FCF58E
secondary
#525BDC
accent
#0FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF58E

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

Preview Lab → · Contrast checker → · Palette generator →

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