#FFE17F#FFE17F

#FFE17F is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.5% C 0.122 H 92.8°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#FFE17F
RGBrgb(255, 225, 127)
HSLhsl(46, 100%, 75%)
HSVhsv(46, 50%, 100%)
CMYKcmyk(0%, 11.8%, 50.2%, 0%)
CIE-LABlab(90.16, -1.79, 51.35)
CIE-LCHlch(90.16, 51.38, 92.00°)
OKLaboklab(91.46% -0.006 0.1223)
OKLCHoklch(91.46% 0.122 92.8)
XYZxyz(71.9985, 76.6459, 31.0762)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE17F #7F9DFF
analogous
#FFA17F #FFE17F #DDFF7F
triadic
#FFE17F #7FFFE1 #E17FFF
tetradic
#FFE17F #7FFFA1 #7F9DFF #FF7FDD
square
#FFE17F #7FFFA1 #7F9DFF #FF7FDD
split-complementary
#FFE17F #7FDDFF #A17FFF
monochromatic
#FFC405 #FFD342 #FFE17F #FFEFBC #FFF8E0

Accessibility & contrast

On white

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

On black

16.33
#FFE17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE17F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE17F#FFFFFF#000000##000000
##FFE17F1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE77
Deuteranopia (green-blind)
#FBE783
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe17f;
/* rgb */ color: rgb(255, 225, 127);
/* oklch */ color: oklch(91.5% 0.122 92.8);
Tailwind
colors: {
  custom: {
    50: '#ffeaa6',
    500: '#ffe17f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe17f;
$custom-light: #ffeaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe17f",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 127
  },
  "hsl": {
    "h": 45.938,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91461,
    "c": 0.12246,
    "h": 92.8
  },
  "luminance": 0.76643
}

Semantic roles & 50–950 ramp

primary
#FFE17F
secondary
#4468DE
accent
#36E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE17F

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

Preview Lab → · Contrast checker → · Palette generator →

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