#FCF57D#FCF57D

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

Color values

HEX#FCF57D
RGBrgb(252, 245, 125)
HSLhsl(57, 95%, 74%)
HSVhsv(57, 50%, 99%)
CMYKcmyk(0%, 2.8%, 50.4%, 1.2%)
CIE-LABlab(94.94, -13.10, 57.96)
CIE-LCHlch(94.94, 59.42, 102.74°)
OKLaboklab(95.19% -0.0386 0.1367)
OKLCHoklch(95.19% 0.142 105.8)
XYZxyz(76.5010, 87.4832, 32.2542)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF57D #7D84FC
analogous
#FCB67D #FCF57D #C4FC7D
triadic
#FCF57D #7DFCF5 #F57DFC
tetradic
#FCF57D #7DFCB6 #7D84FC #FC7DC4
square
#FCF57D #7DFCB6 #7D84FC #FC7DC4
split-complementary
#FCF57D #7DC4FC #B67DFC
monochromatic
#F9EB06 #FBF041 #FCF57D #FDFAB9 #FEFDE1

Accessibility & contrast

On white

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

On black

18.50
#FCF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF57D
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF57D#FFFFFF#000000##000000
##FCF57D1.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf57d;
/* rgb */ color: rgb(252, 245, 125);
/* oklch */ color: oklch(95.2% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff8a5',
    500: '#fcf57d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf57d;
$custom-light: #fff8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf57d",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 56.693,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95186,
    "c": 0.14202,
    "h": 105.8
  },
  "luminance": 0.87481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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