#FCF581#FCF581

#FCF581 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.138 H 105.6°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FCF581
RGBrgb(252, 245, 129)
HSLhsl(57, 95%, 75%)
HSVhsv(57, 49%, 99%)
CMYKcmyk(0%, 2.8%, 48.8%, 1.2%)
CIE-LABlab(94.99, -12.76, 56.17)
CIE-LCHlch(94.99, 57.60, 102.80°)
OKLaboklab(95.24% -0.0373 0.1331)
OKLCHoklch(95.24% 0.138 105.6)
XYZxyz(76.7617, 87.5874, 33.6271)
Luminance0.8759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF581 #8188FC
analogous
#FCB781 #FCF581 #C6FC81
triadic
#FCF581 #81FCF5 #F581FC
tetradic
#FCF581 #81FCB7 #8188FC #FC81C6
square
#FCF581 #81FCB7 #8188FC #FC81C6
split-complementary
#FCF581 #81C6FC #B781FC
monochromatic
#F9EC09 #FBF045 #FCF581 #FDFABD #FEFDE1

Accessibility & contrast

On white

1.13
#FCF581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FCF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF581
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF581#FFFFFF#000000##000000
##FCF5811.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE77
Deuteranopia (green-blind)
#FFF387
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf581;
/* rgb */ color: rgb(252, 245, 129);
/* oklch */ color: oklch(95.2% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff8a8',
    500: '#fcf581',
    950: '#000000',
  },
}
SCSS
$custom: #fcf581;
$custom-light: #fff8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf581",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 56.585,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95235,
    "c": 0.13823,
    "h": 105.6
  },
  "luminance": 0.87585
}

Semantic roles & 50–950 ramp

primary
#FCF581
secondary
#474FDA
accent
#0DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF581

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

Preview Lab → · Contrast checker → · Palette generator →

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