#FCF477#FCF477

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

Color values

HEX#FCF477
RGBrgb(252, 244, 119)
HSLhsl(56, 96%, 73%)
HSVhsv(56, 53%, 99%)
CMYKcmyk(0%, 3.2%, 52.8%, 1.2%)
CIE-LABlab(94.62, -13.10, 60.31)
CIE-LCHlch(94.62, 61.71, 102.25°)
OKLaboklab(94.91% -0.0392 0.1412)
OKLCHoklch(94.91% 0.147 105.5)
XYZxyz(75.8275, 86.7310, 30.1956)
Luminance0.8673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF477 #777FFC
analogous
#FCB177 #FCF477 #C1FC77
triadic
#FCF477 #77FCF4 #F477FC
tetradic
#FCF477 #77FCB1 #777FFC #FC77C1
square
#FCF477 #77FCB1 #777FFC #FC77C1
split-complementary
#FCF477 #77C1FC #B177FC
monochromatic
#F3E505 #FBEF3B #FCF477 #FDF9B3 #FEFDE1

Accessibility & contrast

On white

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

On black

18.35
#FCF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF477
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF477#FFFFFF#000000##000000
##FCF4771.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf477;
/* rgb */ color: rgb(252, 244, 119);
/* oklch */ color: oklch(94.9% 0.147 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff7a1',
    500: '#fcf477',
    950: '#000000',
  },
}
SCSS
$custom: #fcf477;
$custom-light: #fff7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf477",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 56.391,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94912,
    "c": 0.14654,
    "h": 105.5
  },
  "luminance": 0.86729
}

Semantic roles & 50–950 ramp

primary
#FCF477
secondary
#3E48D9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF477

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

Preview Lab → · Contrast checker → · Palette generator →

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