#FCF177#FCF177

#FCF177 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.144 H 104.1°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FCF177
RGBrgb(252, 241, 119)
HSLhsl(55, 96%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.4%, 52.8%, 1.2%)
CIE-LABlab(93.86, -11.62, 59.42)
CIE-LCHlch(93.86, 60.54, 101.07°)
OKLaboklab(94.3% -0.035 0.1393)
OKLCHoklch(94.3% 0.144 104.1)
XYZxyz(74.9322, 84.9404, 29.8972)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF177 #7782FC
analogous
#FCAF77 #FCF177 #C4FC77
triadic
#FCF177 #77FCF1 #F177FC
tetradic
#FCF177 #77FCAF #7782FC #FC77C4
square
#FCF177 #77FCAF #7782FC #FC77C4
split-complementary
#FCF177 #77C4FC #AF77FC
monochromatic
#F3E005 #FBEB3B #FCF177 #FDF7B3 #FEFCE1

Accessibility & contrast

On white

1.17
#FCF177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#FCF177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF177
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF177#FFFFFF#000000##000000
##FCF1771.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf177;
/* rgb */ color: rgb(252, 241, 119);
/* oklch */ color: oklch(94.3% 0.144 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fcf177',
    950: '#000000',
  },
}
SCSS
$custom: #fcf177;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf177",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 55.038,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94303,
    "c": 0.14361,
    "h": 104.1
  },
  "luminance": 0.84938
}

Semantic roles & 50–950 ramp

primary
#FCF177
secondary
#3E4BD9
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF177

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

Preview Lab → · Contrast checker → · Palette generator →

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