#FFE17C#FFE17C

#FFE17C is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.4% C 0.125 H 93.2°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#FFE17C
RGBrgb(255, 225, 124)
HSLhsl(46, 100%, 74%)
HSVhsv(46, 51%, 100%)
CMYKcmyk(0%, 11.8%, 51.4%, 0%)
CIE-LABlab(90.12, -2.04, 52.74)
CIE-LCHlch(90.12, 52.78, 92.22°)
OKLaboklab(91.42% -0.007 0.1251)
OKLCHoklch(91.42% 0.125 93.2)
XYZxyz(71.8059, 76.5689, 30.0618)
Luminance0.7657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE17C #7C9AFF
analogous
#FFA07C #FFE17C #DBFF7C
triadic
#FFE17C #7CFFE1 #E17CFF
tetradic
#FFE17C #7CFFA0 #7C9AFF #FF7CDB
square
#FFE17C #7CFFA0 #7C9AFF #FF7CDB
split-complementary
#FFE17C #7CDBFF #A07CFF
monochromatic
#FFC502 #FFD33F #FFE17C #FFEFB9 #FFF8E0

Accessibility & contrast

On white

1.29
#FFE17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#FFE17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE17C
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE17C#FFFFFF#000000##000000
##FFE17C1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD73
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe17c;
/* rgb */ color: rgb(255, 225, 124);
/* oklch */ color: oklch(91.4% 0.125 93.2);
Tailwind
colors: {
  custom: {
    50: '#ffeaa4',
    500: '#ffe17c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe17c;
$custom-light: #ffeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe17c",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 46.26,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91422,
    "c": 0.12532,
    "h": 93.2
  },
  "luminance": 0.76566
}

Semantic roles & 50–950 ramp

primary
#FFE17C
secondary
#4265DE
accent
#35E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE17C

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

Preview Lab → · Contrast checker → · Palette generator →

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