#FFE171#FFE171

#FFE171 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.3% C 0.135 H 94.6°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#FFE171
RGBrgb(255, 225, 113)
HSLhsl(47, 100%, 72%)
HSVhsv(47, 56%, 100%)
CMYKcmyk(0%, 11.8%, 55.7%, 0%)
CIE-LABlab(90.00, -2.91, 57.73)
CIE-LCHlch(90.00, 57.81, 92.89°)
OKLaboklab(91.29% -0.0108 0.135)
OKLCHoklch(91.29% 0.135 94.6)
XYZxyz(71.1487, 76.3060, 26.6004)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE171 #718FFF
analogous
#FF9A71 #FFE171 #D6FF71
triadic
#FFE171 #71FFE1 #E171FF
tetradic
#FFE171 #71FF9A #718FFF #FF71D6
square
#FFE171 #71FF9A #718FFF #FF71D6
split-complementary
#FFE171 #71D6FF #9A71FF
monochromatic
#F6C200 #FFD434 #FFE171 #FFEEAE #FFF9E0

Accessibility & contrast

On white

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

On black

16.26
#FFE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE171
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE171#FFFFFF#000000##000000
##FFE1711.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe171;
/* rgb */ color: rgb(255, 225, 113);
/* oklch */ color: oklch(91.3% 0.135 94.6);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#ffe171',
    950: '#000000',
  },
}
SCSS
$custom: #ffe171;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe171",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 47.324,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91287,
    "c": 0.13539,
    "h": 94.6
  },
  "luminance": 0.76303
}

Semantic roles & 50–950 ramp

primary
#FFE171
secondary
#385BDC
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE171

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

Preview Lab → · Contrast checker → · Palette generator →

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