#FCF17C#FCF17C

#FCF17C is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.139 H 103.9°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FCF17C
RGBrgb(252, 241, 124)
HSLhsl(55, 96%, 74%)
HSVhsv(55, 51%, 99%)
CMYKcmyk(0%, 4.4%, 50.8%, 1.2%)
CIE-LABlab(93.91, -11.22, 57.20)
CIE-LCHlch(93.91, 58.29, 101.10°)
OKLaboklab(94.36% -0.0333 0.1349)
OKLCHoklch(94.36% 0.139 103.9)
XYZxyz(75.2404, 85.0637, 31.5204)
Luminance0.8506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF17C #7C87FC
analogous
#FCB17C #FCF17C #C7FC7C
triadic
#FCF17C #7CFCF1 #F17CFC
tetradic
#FCF17C #7CFCB1 #7C87FC #FC7CC7
square
#FCF17C #7CFCB1 #7C87FC #FC7CC7
split-complementary
#FCF17C #7CC7FC #B17CFC
monochromatic
#F8E306 #FBEB40 #FCF17C #FDF7B8 #FEFCE1

Accessibility & contrast

On white

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

On black

18.01
#FCF17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF17C
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF17C#FFFFFF#000000##000000
##FCF17C1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FFF082
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf17c;
/* rgb */ color: rgb(252, 241, 124);
/* oklch */ color: oklch(94.4% 0.139 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fcf17c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf17c;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf17c",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 54.844,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94362,
    "c": 0.13898,
    "h": 103.9
  },
  "luminance": 0.85061
}

Semantic roles & 50–950 ramp

primary
#FCF17C
secondary
#4350DA
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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