#FCF17D#FCF17D

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

Color values

HEX#FCF17D
RGBrgb(252, 241, 125)
HSLhsl(55, 95%, 74%)
HSVhsv(55, 50%, 99%)
CMYKcmyk(0%, 4.4%, 50.4%, 1.2%)
CIE-LABlab(93.92, -11.14, 56.75)
CIE-LCHlch(93.92, 57.83, 101.10°)
OKLaboklab(94.37% -0.033 0.134)
OKLCHoklch(94.37% 0.138 103.8)
XYZxyz(75.3040, 85.0891, 31.8552)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF17D #7D88FC
analogous
#FCB27D #FCF17D #C8FC7D
triadic
#FCF17D #7DFCF1 #F17DFC
tetradic
#FCF17D #7DFCB2 #7D88FC #FC7DC8
square
#FCF17D #7DFCB2 #7D88FC #FC7DC8
split-complementary
#FCF17D #7DC8FC #B27DFC
monochromatic
#F9E406 #FBEB41 #FCF17D #FDF7B9 #FEFCE1

Accessibility & contrast

On white

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

On black

18.02
#FCF17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF17D
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF17D#FFFFFF#000000##000000
##FCF17D1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf17d;
/* rgb */ color: rgb(252, 241, 125);
/* oklch */ color: oklch(94.4% 0.138 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fcf17d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf17d;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf17d",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 54.803,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94374,
    "c": 0.13803,
    "h": 103.8
  },
  "luminance": 0.85087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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