#FCF57E#FCF57E

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

Color values

HEX#FCF57E
RGBrgb(252, 245, 126)
HSLhsl(57, 95%, 74%)
HSVhsv(57, 50%, 99%)
CMYKcmyk(0%, 2.8%, 50%, 1.2%)
CIE-LABlab(94.95, -13.02, 57.51)
CIE-LCHlch(94.95, 58.97, 102.75°)
OKLaboklab(95.2% -0.0383 0.1358)
OKLCHoklch(95.2% 0.141 105.7)
XYZxyz(76.5652, 87.5088, 32.5923)
Luminance0.8751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF57E #7E85FC
analogous
#FCB67E #FCF57E #C4FC7E
triadic
#FCF57E #7EFCF5 #F57EFC
tetradic
#FCF57E #7EFCB6 #7E85FC #FC7EC4
square
#FCF57E #7EFCB6 #7E85FC #FC7EC4
split-complementary
#FCF57E #7EC4FC #B67EFC
monochromatic
#F9EC06 #FBF042 #FCF57E #FDFABA #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF57E#FFFFFF#000000##000000
##FCF57E1.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)
#FFED73
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf57e;
/* rgb */ color: rgb(252, 245, 126);
/* oklch */ color: oklch(95.2% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff8a6',
    500: '#fcf57e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf57e;
$custom-light: #fff8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf57e",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 56.667,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95198,
    "c": 0.14109,
    "h": 105.7
  },
  "luminance": 0.87507
}

Semantic roles & 50–950 ramp

primary
#FCF57E
secondary
#444DDA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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