#E9E271#E9E271

#E9E271 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.135 H 105.6°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#E9E271
RGBrgb(233, 226, 113)
HSLhsl(57, 73%, 68%)
HSVhsv(57, 52%, 91%)
CMYKcmyk(0%, 3%, 51.5%, 8.6%)
CIE-LABlab(88.41, -12.27, 55.40)
CIE-LCHlch(88.41, 56.74, 102.49°)
OKLaboklab(89.58% -0.0364 0.1303)
OKLCHoklch(89.58% 0.135 105.6)
XYZxyz(63.7830, 72.9105, 26.3328)
Luminance0.7291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E271 #7178E9
analogous
#E9A671 #E9E271 #B4E971
triadic
#E9E271 #71E9E2 #E271E9
tetradic
#E9E271 #71E9A6 #7178E9 #E971B4
square
#E9E271 #71E9A6 #7178E9 #E971B4
split-complementary
#E9E271 #71B4E9 #A671E9
monochromatic
#C2B81E #E1D73C #E9E271 #F1EDA6 #F9F8DB

Accessibility & contrast

On white

1.35
#E9E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#E9E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E271
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E271#FFFFFF#000000##000000
##E9E2711.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#F8D5C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e9e271;
/* rgb */ color: rgb(233, 226, 113);
/* oklch */ color: oklch(89.6% 0.135 105.6);
Tailwind
colors: {
  custom: {
    50: '#f2ea9d',
    500: '#e9e271',
    950: '#000000',
  },
}
SCSS
$custom: #e9e271;
$custom-light: #f2ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e271",
  "rgb": {
    "r": 233,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 56.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89579,
    "c": 0.13529,
    "h": 105.6
  },
  "luminance": 0.72909
}

Semantic roles & 50–950 ramp

primary
#E9E271
secondary
#3E46C0
accent
#1CD510
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E9E271

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

Preview Lab → · Contrast checker → · Palette generator →

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