#FCF476#FCF476

#FCF476 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.9% C 0.147 H 105.6°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FCF476
RGBrgb(252, 244, 118)
HSLhsl(56, 96%, 73%)
HSVhsv(56, 53%, 99%)
CMYKcmyk(0%, 3.2%, 53.2%, 1.2%)
CIE-LABlab(94.61, -13.17, 60.74)
CIE-LCHlch(94.61, 62.16, 102.24°)
OKLaboklab(94.9% -0.0395 0.142)
OKLCHoklch(94.9% 0.147 105.6)
XYZxyz(75.7678, 86.7071, 29.8810)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF476 #767EFC
analogous
#FCB176 #FCF476 #C1FC76
triadic
#FCF476 #76FCF4 #F476FC
tetradic
#FCF476 #76FCB1 #767EFC #FC76C1
square
#FCF476 #76FCB1 #767EFC #FC76C1
split-complementary
#FCF476 #76C1FC #B176FC
monochromatic
#F2E405 #FBEF3A #FCF476 #FDF9B2 #FEFDE1

Accessibility & contrast

On white

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

On black

18.34
#FCF476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF476
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF476#FFFFFF#000000##000000
##FCF4761.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf476;
/* rgb */ color: rgb(252, 244, 118);
/* oklch */ color: oklch(94.9% 0.147 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff7a1',
    500: '#fcf476',
    950: '#000000',
  },
}
SCSS
$custom: #fcf476;
$custom-light: #fff7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf476",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 56.418,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94901,
    "c": 0.14744,
    "h": 105.6
  },
  "luminance": 0.86705
}

Semantic roles & 50–950 ramp

primary
#FCF476
secondary
#3D47D9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF476

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

Preview Lab → · Contrast checker → · Palette generator →

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