#FFF17C#FFF17C

#FFF17C is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.139 H 102.5°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FFF17C
RGBrgb(255, 241, 124)
HSLhsl(54, 100%, 74%)
HSVhsv(54, 51%, 100%)
CMYKcmyk(0%, 5.5%, 51.4%, 0%)
CIE-LABlab(94.15, -10.03, 57.54)
CIE-LCHlch(94.15, 58.41, 99.89°)
OKLaboklab(94.61% -0.0301 0.1356)
OKLCHoklch(94.61% 0.139 102.5)
XYZxyz(76.3357, 85.6284, 31.5718)
Luminance0.8563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF17C #7C8AFF
analogous
#FFB07C #FFF17C #CCFF7C
triadic
#FFF17C #7CFFF1 #F17CFF
tetradic
#FFF17C #7CFFB0 #7C8AFF #FF7CCC
square
#FFF17C #7CFFB0 #7C8AFF #FF7CCC
split-complementary
#FFF17C #7CCCFF #B07CFF
monochromatic
#FFE402 #FFEA3F #FFF17C #FFF8B9 #FFFCE0

Accessibility & contrast

On white

1.16
#FFF17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#FFF17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF17C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF17C#FFFFFF#000000##000000
##FFF17C1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff17c;
/* rgb */ color: rgb(255, 241, 124);
/* oklch */ color: oklch(94.6% 0.139 102.5);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fff17c',
    950: '#000000',
  },
}
SCSS
$custom: #fff17c;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff17c",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 53.588,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94613,
    "c": 0.13893,
    "h": 102.5
  },
  "luminance": 0.85626
}

Semantic roles & 50–950 ramp

primary
#FFF17C
secondary
#4252DE
accent
#19E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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