#FCF387#FCF387

#FCF387 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.9% C 0.130 H 104.4°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FCF387
RGBrgb(252, 243, 135)
HSLhsl(55, 95%, 76%)
HSVhsv(55, 46%, 99%)
CMYKcmyk(0%, 3.6%, 46.4%, 1.2%)
CIE-LABlab(94.55, -11.25, 52.83)
CIE-LCHlch(94.55, 54.01, 102.02°)
OKLaboklab(94.91% -0.0323 0.1262)
OKLCHoklch(94.91% 0.13 104.4)
XYZxyz(76.5705, 86.5481, 35.5889)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF387 #8790FC
analogous
#FCB887 #FCF387 #CAFC87
triadic
#FCF387 #87FCF3 #F387FC
tetradic
#FCF387 #87FCB8 #8790FC #FC87CA
square
#FCF387 #87FCB8 #8790FC #FC87CA
split-complementary
#FCF387 #87CAFC #B887FC
monochromatic
#F9E710 #FBED4B #FCF387 #FDF9C3 #FEFCE1

Accessibility & contrast

On white

1.15
#FCF387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FCF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF387
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF387#FFFFFF#000000##000000
##FCF3871.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFF28C
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf387;
/* rgb */ color: rgb(252, 243, 135);
/* oklch */ color: oklch(94.9% 0.130 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ac',
    500: '#fcf387',
    950: '#000000',
  },
}
SCSS
$custom: #fcf387;
$custom-light: #fff6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf387",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 55.385,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94908,
    "c": 0.1303,
    "h": 104.4
  },
  "luminance": 0.86546
}

Semantic roles & 50–950 ramp

primary
#FCF387
secondary
#4C57DB
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF387

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

Preview Lab → · Contrast checker → · Palette generator →

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