#FCF175#FCF175

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

Color values

HEX#FCF175
RGBrgb(252, 241, 117)
HSLhsl(55, 96%, 72%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.4%, 53.6%, 1.2%)
CIE-LABlab(93.84, -11.78, 60.29)
CIE-LCHlch(93.84, 61.43, 101.06°)
OKLaboklab(94.28% -0.0357 0.141)
OKLCHoklch(94.28% 0.145 104.2)
XYZxyz(74.8133, 84.8928, 29.2713)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF175 #7580FC
analogous
#FCAD75 #FCF175 #C4FC75
triadic
#FCF175 #75FCF1 #F175FC
tetradic
#FCF175 #75FCAD #7580FC #FC75C4
square
#FCF175 #75FCAD #7580FC #FC75C4
split-complementary
#FCF175 #75C4FC #AD75FC
monochromatic
#F1DE05 #FBEB39 #FCF175 #FDF7B1 #FEFCE1

Accessibility & contrast

On white

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

On black

17.98
#FCF175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF175
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF175#FFFFFF#000000##000000
##FCF1751.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf175;
/* rgb */ color: rgb(252, 241, 117);
/* oklch */ color: oklch(94.3% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff5a0',
    500: '#fcf175',
    950: '#000000',
  },
}
SCSS
$custom: #fcf175;
$custom-light: #fff5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf175",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 117
  },
  "hsl": {
    "h": 55.111,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9428,
    "c": 0.14541,
    "h": 104.2
  },
  "luminance": 0.8489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF175

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

Preview Lab → · Contrast checker → · Palette generator →

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