#FCF174#FCF174

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

Color values

HEX#FCF174
RGBrgb(252, 241, 116)
HSLhsl(55, 96%, 72%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.4%, 54%, 1.2%)
CIE-LABlab(93.83, -11.86, 60.73)
CIE-LCHlch(93.83, 61.88, 101.05°)
OKLaboklab(94.27% -0.036 0.1418)
OKLCHoklch(94.27% 0.146 104.2)
XYZxyz(74.7549, 84.8695, 28.9633)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF174 #747FFC
analogous
#FCAD74 #FCF174 #C3FC74
triadic
#FCF174 #74FCF1 #F174FC
tetradic
#FCF174 #74FCAD #747FFC #FC74C3
square
#FCF174 #74FCAD #747FFC #FC74C3
split-complementary
#FCF174 #74C3FC #AD74FC
monochromatic
#F0DD05 #FBEB38 #FCF174 #FDF7B0 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF174#FFFFFF#000000##000000
##FCF1741.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)
#FFEA68
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf174;
/* rgb */ color: rgb(252, 241, 116);
/* oklch */ color: oklch(94.3% 0.146 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff59f',
    500: '#fcf174',
    950: '#000000',
  },
}
SCSS
$custom: #fcf174;
$custom-light: #fff59f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf174",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 55.147,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94269,
    "c": 0.14631,
    "h": 104.2
  },
  "luminance": 0.84867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF174

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

Preview Lab → · Contrast checker → · Palette generator →

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