#FCF381#FCF381

#FCF381 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.136 H 104.7°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FCF381
RGBrgb(252, 243, 129)
HSLhsl(56, 95%, 75%)
HSVhsv(56, 49%, 99%)
CMYKcmyk(0%, 3.6%, 48.8%, 1.2%)
CIE-LABlab(94.48, -11.78, 55.56)
CIE-LCHlch(94.48, 56.79, 101.97°)
OKLaboklab(94.83% -0.0344 0.1318)
OKLCHoklch(94.83% 0.136 104.7)
XYZxyz(76.1599, 86.3839, 33.4265)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF381 #818AFC
analogous
#FCB681 #FCF381 #C7FC81
triadic
#FCF381 #81FCF3 #F381FC
tetradic
#FCF381 #81FCB6 #818AFC #FC81C7
square
#FCF381 #81FCB6 #818AFC #FC81C7
split-complementary
#FCF381 #81C7FC #B681FC
monochromatic
#F9E809 #FBED45 #FCF381 #FDF9BD #FEFCE1

Accessibility & contrast

On white

1.15
#FCF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#FCF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF381
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF381#FFFFFF#000000##000000
##FCF3811.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF286
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf381;
/* rgb */ color: rgb(252, 243, 129);
/* oklch */ color: oklch(94.8% 0.136 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fcf381',
    950: '#000000',
  },
}
SCSS
$custom: #fcf381;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf381",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 55.61,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94829,
    "c": 0.1362,
    "h": 104.7
  },
  "luminance": 0.86382
}

Semantic roles & 50–950 ramp

primary
#FCF381
secondary
#4752DA
accent
#11E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF381

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

Preview Lab → · Contrast checker → · Palette generator →

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