#E9E371#E9E371

#E9E371 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.8% C 0.136 H 106.1°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#E9E371
RGBrgb(233, 227, 113)
HSLhsl(57, 73%, 68%)
HSVhsv(57, 52%, 91%)
CMYKcmyk(0%, 2.6%, 51.5%, 8.6%)
CIE-LABlab(88.66, -12.77, 55.71)
CIE-LCHlch(88.66, 57.15, 102.91°)
OKLaboklab(89.79% -0.0378 0.131)
OKLCHoklch(89.79% 0.136 106.1)
XYZxyz(64.0557, 73.4559, 26.4237)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E371 #7177E9
analogous
#E9A771 #E9E371 #B3E971
triadic
#E9E371 #71E9E3 #E371E9
tetradic
#E9E371 #71E9A7 #7177E9 #E971B3
square
#E9E371 #71E9A7 #7177E9 #E971B3
split-complementary
#E9E371 #71B3E9 #A771E9
monochromatic
#C2B91E #E1D93C #E9E371 #F1EDA6 #F9F8DB

Accessibility & contrast

On white

1.34
#E9E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#E9E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E371
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E371#FFFFFF#000000##000000
##E9E3711.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#F8D6C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e9e371;
/* rgb */ color: rgb(233, 227, 113);
/* oklch */ color: oklch(89.8% 0.136 106.1);
Tailwind
colors: {
  custom: {
    50: '#f2eb9d',
    500: '#e9e371',
    950: '#000000',
  },
}
SCSS
$custom: #e9e371;
$custom-light: #f2eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e371",
  "rgb": {
    "r": 233,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 57,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89786,
    "c": 0.13631,
    "h": 106.1
  },
  "luminance": 0.73454
}

Semantic roles & 50–950 ramp

primary
#E9E371
secondary
#3E45C0
accent
#1AD510
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E9E371

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

Preview Lab → · Contrast checker → · Palette generator →

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