#FCF17E#FCF17E

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

Color values

HEX#FCF17E
RGBrgb(252, 241, 126)
HSLhsl(55, 95%, 74%)
HSVhsv(55, 50%, 99%)
CMYKcmyk(0%, 4.4%, 50%, 1.2%)
CIE-LABlab(93.93, -11.05, 56.30)
CIE-LCHlch(93.93, 57.37, 101.11°)
OKLaboklab(94.39% -0.0327 0.1331)
OKLCHoklch(94.39% 0.137 103.8)
XYZxyz(75.3682, 85.1148, 32.1933)
Luminance0.8511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF17E #7E89FC
analogous
#FCB27E #FCF17E #C8FC7E
triadic
#FCF17E #7EFCF1 #F17EFC
tetradic
#FCF17E #7EFCB2 #7E89FC #FC7EC8
square
#FCF17E #7EFCB2 #7E89FC #FC7EC8
split-complementary
#FCF17E #7EC8FC #B27EFC
monochromatic
#F9E406 #FBEB42 #FCF17E #FDF7BA #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF17E#FFFFFF#000000##000000
##FCF17E1.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)
#FFEA74
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf17e;
/* rgb */ color: rgb(252, 241, 126);
/* oklch */ color: oklch(94.4% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff5a6',
    500: '#fcf17e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf17e;
$custom-light: #fff5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf17e",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 126
  },
  "hsl": {
    "h": 54.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94387,
    "c": 0.13709,
    "h": 103.8
  },
  "luminance": 0.85112
}

Semantic roles & 50–950 ramp

primary
#FCF17E
secondary
#4451DA
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF17E

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

Preview Lab → · Contrast checker → · Palette generator →

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