#FCF57B#FCF57B

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

Color values

HEX#FCF57B
RGBrgb(252, 245, 123)
HSLhsl(57, 96%, 74%)
HSVhsv(57, 51%, 99%)
CMYKcmyk(0%, 2.8%, 51.2%, 1.2%)
CIE-LABlab(94.92, -13.27, 58.85)
CIE-LCHlch(94.92, 60.32, 102.70°)
OKLaboklab(95.16% -0.0393 0.1384)
OKLCHoklch(95.16% 0.144 105.9)
XYZxyz(76.3745, 87.4326, 31.5881)
Luminance0.8743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF57B #7B82FC
analogous
#FCB47B #FCF57B #C2FC7B
triadic
#FCF57B #7BFCF5 #F57BFC
tetradic
#FCF57B #7BFCB4 #7B82FC #FC7BC2
square
#FCF57B #7BFCB4 #7B82FC #FC7BC2
split-complementary
#FCF57B #7BC2FC #B47BFC
monochromatic
#F7EA06 #FBF03F #FCF57B #FDFAB7 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF57B#FFFFFF#000000##000000
##FCF57B1.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)
#FFED70
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf57b;
/* rgb */ color: rgb(252, 245, 123);
/* oklch */ color: oklch(95.2% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff8a4',
    500: '#fcf57b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf57b;
$custom-light: #fff8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf57b",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 56.744,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95162,
    "c": 0.14388,
    "h": 105.9
  },
  "luminance": 0.8743
}

Semantic roles & 50–950 ramp

primary
#FCF57B
secondary
#424AD9
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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