#FCF57C#FCF57C

#FCF57C is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.143 H 105.8°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FCF57C
RGBrgb(252, 245, 124)
HSLhsl(57, 96%, 74%)
HSVhsv(57, 51%, 99%)
CMYKcmyk(0%, 2.8%, 50.8%, 1.2%)
CIE-LABlab(94.93, -13.18, 58.40)
CIE-LCHlch(94.93, 59.87, 102.72°)
OKLaboklab(95.17% -0.039 0.1375)
OKLCHoklch(95.17% 0.143 105.8)
XYZxyz(76.4374, 87.4577, 31.9194)
Luminance0.8746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF57C #7C83FC
analogous
#FCB57C #FCF57C #C3FC7C
triadic
#FCF57C #7CFCF5 #F57CFC
tetradic
#FCF57C #7CFCB5 #7C83FC #FC7CC3
square
#FCF57C #7CFCB5 #7C83FC #FC7CC3
split-complementary
#FCF57C #7CC3FC #B57CFC
monochromatic
#F8EB06 #FBF040 #FCF57C #FDFAB8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.49
#FCF57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF57C
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF57C#FFFFFF#000000##000000
##FCF57C1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED71
Deuteranopia (green-blind)
#FFF382
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf57c;
/* rgb */ color: rgb(252, 245, 124);
/* oklch */ color: oklch(95.2% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff8a5',
    500: '#fcf57c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf57c;
$custom-light: #fff8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf57c",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 56.719,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95174,
    "c": 0.14295,
    "h": 105.8
  },
  "luminance": 0.87455
}

Semantic roles & 50–950 ramp

primary
#FCF57C
secondary
#434BDA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF57C

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

Preview Lab → · Contrast checker → · Palette generator →

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