#FCF57A#FCF57A

#FCF57A is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.145 H 105.9°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FCF57A
RGBrgb(252, 245, 122)
HSLhsl(57, 96%, 73%)
HSVhsv(57, 52%, 99%)
CMYKcmyk(0%, 2.8%, 51.6%, 1.2%)
CIE-LABlab(94.91, -13.35, 59.29)
CIE-LCHlch(94.91, 60.77, 102.69°)
OKLaboklab(95.15% -0.0396 0.1393)
OKLCHoklch(95.15% 0.145 105.9)
XYZxyz(76.3122, 87.4076, 31.2601)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF57A #7A81FC
analogous
#FCB47A #FCF57A #C2FC7A
triadic
#FCF57A #7AFCF5 #F57AFC
tetradic
#FCF57A #7AFCB4 #7A81FC #FC7AC2
square
#FCF57A #7AFCB4 #7A81FC #FC7AC2
split-complementary
#FCF57A #7AC2FC #B47AFC
monochromatic
#F6E906 #FBF03E #FCF57A #FDF9B6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.48
#FCF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF57A
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF57A#FFFFFF#000000##000000
##FCF57A1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf57a;
/* rgb */ color: rgb(252, 245, 122);
/* oklch */ color: oklch(95.2% 0.145 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fcf57a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf57a;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf57a",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 56.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9515,
    "c": 0.14481,
    "h": 105.9
  },
  "luminance": 0.87405
}

Semantic roles & 50–950 ramp

primary
#FCF57A
secondary
#4149D9
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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