#FCF173#FCF173

#FCF173 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.147 H 104.3°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FCF173
RGBrgb(252, 241, 115)
HSLhsl(55, 96%, 72%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.4%, 54.4%, 1.2%)
CIE-LABlab(93.82, -11.93, 61.17)
CIE-LCHlch(93.82, 62.32, 101.04°)
OKLaboklab(94.26% -0.0363 0.1426)
OKLCHoklch(94.26% 0.147 104.3)
XYZxyz(74.6970, 84.8463, 28.6586)
Luminance0.8484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF173 #737EFC
analogous
#FCAC73 #FCF173 #C3FC73
triadic
#FCF173 #73FCF1 #F173FC
tetradic
#FCF173 #73FCAC #737EFC #FC73C3
square
#FCF173 #73FCAC #737EFC #FC73C3
split-complementary
#FCF173 #73C3FC #AC73FC
monochromatic
#EFDD05 #FBEB37 #FCF173 #FDF7AF #FEFCE1

Accessibility & contrast

On white

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

On black

17.97
#FCF173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF173
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF173#FFFFFF#000000##000000
##FCF1731.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf173;
/* rgb */ color: rgb(252, 241, 115);
/* oklch */ color: oklch(94.3% 0.147 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff59f',
    500: '#fcf173',
    950: '#000000',
  },
}
SCSS
$custom: #fcf173;
$custom-light: #fff59f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf173",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 55.182,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94257,
    "c": 0.14719,
    "h": 104.3
  },
  "luminance": 0.84844
}

Semantic roles & 50–950 ramp

primary
#FCF173
secondary
#3B48D8
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF173

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

Preview Lab → · Contrast checker → · Palette generator →

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