#FCF281#FCF281

#FCF281 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.135 H 104.1°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FCF281
RGBrgb(252, 242, 129)
HSLhsl(55, 95%, 75%)
HSVhsv(55, 49%, 99%)
CMYKcmyk(0%, 4%, 48.8%, 1.2%)
CIE-LABlab(94.22, -11.29, 55.25)
CIE-LCHlch(94.22, 56.39, 101.55°)
OKLaboklab(94.63% -0.033 0.1311)
OKLCHoklch(94.63% 0.135 104.1)
XYZxyz(75.8615, 85.7870, 33.3270)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF281 #818BFC
analogous
#FCB581 #FCF281 #C9FC81
triadic
#FCF281 #81FCF2 #F281FC
tetradic
#FCF281 #81FCB5 #818BFC #FC81C9
square
#FCF281 #81FCB5 #818BFC #FC81C9
split-complementary
#FCF281 #81C9FC #B581FC
monochromatic
#F9E609 #FBEC45 #FCF281 #FDF8BD #FEFCE1

Accessibility & contrast

On white

1.16
#FCF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FCF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF281
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF281#FFFFFF#000000##000000
##FCF2811.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf281;
/* rgb */ color: rgb(252, 242, 129);
/* oklch */ color: oklch(94.6% 0.135 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fcf281',
    950: '#000000',
  },
}
SCSS
$custom: #fcf281;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf281",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 55.122,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94627,
    "c": 0.1352,
    "h": 104.1
  },
  "luminance": 0.85785
}

Semantic roles & 50–950 ramp

primary
#FCF281
secondary
#4753DA
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF281

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

Preview Lab → · Contrast checker → · Palette generator →

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