#FEE171#FEE171

#FEE171 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.2% C 0.135 H 95.0°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#FEE171
RGBrgb(254, 225, 113)
HSLhsl(48, 99%, 72%)
HSVhsv(48, 56%, 100%)
CMYKcmyk(0%, 11.4%, 55.5%, 0.4%)
CIE-LABlab(89.91, -3.32, 57.61)
CIE-LCHlch(89.91, 57.70, 93.29°)
OKLaboklab(91.2% -0.0119 0.1347)
OKLCHoklch(91.2% 0.135 95)
XYZxyz(70.7817, 76.1167, 26.5832)
Luminance0.7611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE171 #718EFE
analogous
#FE9B71 #FEE171 #D4FE71
triadic
#FEE171 #71FEE1 #E171FE
tetradic
#FEE171 #71FE9B #718EFE #FE71D4
square
#FEE171 #71FE9B #718EFE #FE71D4
split-complementary
#FEE171 #71D4FE #9B71FE
monochromatic
#F3C102 #FED434 #FEE171 #FEEEAE #FFF9E1

Accessibility & contrast

On white

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

On black

16.22
#FEE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE171
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE171#FFFFFF#000000##000000
##FEE1711.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.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: #fee171;
/* rgb */ color: rgb(254, 225, 113);
/* oklch */ color: oklch(91.2% 0.135 95.0);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fee171',
    950: '#000000',
  },
}
SCSS
$custom: #fee171;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fee171",
  "rgb": {
    "r": 254,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 47.66,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91196,
    "c": 0.13523,
    "h": 95
  },
  "luminance": 0.76114
}

Semantic roles & 50–950 ramp

primary
#FEE171
secondary
#395ADB
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FEE171

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

Preview Lab → · Contrast checker → · Palette generator →

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