#FCF17A#FCF17A

#FCF17A is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.141 H 104.0°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FCF17A
RGBrgb(252, 241, 122)
HSLhsl(55, 96%, 73%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4.4%, 51.6%, 1.2%)
CIE-LABlab(93.89, -11.38, 58.09)
CIE-LCHlch(93.89, 59.19, 101.09°)
OKLaboklab(94.34% -0.034 0.1367)
OKLCHoklch(94.34% 0.141 104)
XYZxyz(75.1152, 85.0136, 30.8611)
Luminance0.8501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF17A #7A85FC
analogous
#FCB07A #FCF17A #C6FC7A
triadic
#FCF17A #7AFCF1 #F17AFC
tetradic
#FCF17A #7AFCB0 #7A85FC #FC7AC6
square
#FCF17A #7AFCB0 #7A85FC #FC7AC6
split-complementary
#FCF17A #7AC6FC #B07AFC
monochromatic
#F6E206 #FBEB3E #FCF17A #FDF7B6 #FEFCE1

Accessibility & contrast

On white

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

On black

18.00
#FCF17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF17A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF17A#FFFFFF#000000##000000
##FCF17A1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf17a;
/* rgb */ color: rgb(252, 241, 122);
/* oklch */ color: oklch(94.3% 0.141 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff5a3',
    500: '#fcf17a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf17a;
$custom-light: #fff5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf17a",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 54.923,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94338,
    "c": 0.14085,
    "h": 104
  },
  "luminance": 0.85011
}

Semantic roles & 50–950 ramp

primary
#FCF17A
secondary
#414ED9
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF17A

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

Preview Lab → · Contrast checker → · Palette generator →

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