#E9E171#E9E171

#E9E171 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.4% C 0.134 H 105.1°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#E9E171
RGBrgb(233, 225, 113)
HSLhsl(56, 73%, 68%)
HSVhsv(56, 52%, 91%)
CMYKcmyk(0%, 3.4%, 51.5%, 8.6%)
CIE-LABlab(88.15, -11.77, 55.10)
CIE-LCHlch(88.15, 56.34, 102.06°)
OKLaboklab(89.37% -0.035 0.1296)
OKLCHoklch(89.37% 0.134 105.1)
XYZxyz(63.5119, 72.3682, 26.2425)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E171 #7179E9
analogous
#E9A571 #E9E171 #B5E971
triadic
#E9E171 #71E9E1 #E171E9
tetradic
#E9E171 #71E9A5 #7179E9 #E971B5
square
#E9E171 #71E9A5 #7179E9 #E971B5
split-complementary
#E9E171 #71B5E9 #A571E9
monochromatic
#C2B71E #E1D63C #E9E171 #F1ECA6 #F9F7DB

Accessibility & contrast

On white

1.36
#E9E171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#E9E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E171
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E171#FFFFFF#000000##000000
##E9E1711.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA67
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#F8D4C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e9e171;
/* rgb */ color: rgb(233, 225, 113);
/* oklch */ color: oklch(89.4% 0.134 105.1);
Tailwind
colors: {
  custom: {
    50: '#f2ea9d',
    500: '#e9e171',
    950: '#000000',
  },
}
SCSS
$custom: #e9e171;
$custom-light: #f2ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e171",
  "rgb": {
    "r": 233,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 56,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89373,
    "c": 0.13428,
    "h": 105.1
  },
  "luminance": 0.72366
}

Semantic roles & 50–950 ramp

primary
#E9E171
secondary
#3E47C0
accent
#1DD510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E9E171

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

Preview Lab → · Contrast checker → · Palette generator →

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