#E2E271#E2E271

#E2E271 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.136 H 108.9°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E2E271
RGBrgb(226, 226, 113)
HSLhsl(60, 66%, 66%)
HSVhsv(60, 50%, 89%)
CMYKcmyk(0%, 0%, 50%, 11.4%)
CIE-LABlab(87.85, -15.07, 54.61)
CIE-LCHlch(87.85, 56.65, 105.43°)
OKLaboklab(89% -0.044 0.1287)
OKLCHoklch(89% 0.136 108.9)
XYZxyz(61.5425, 71.7552, 26.2278)
Luminance0.7175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E271 #7171E2
analogous
#E2AA71 #E2E271 #AAE271
triadic
#E2E271 #71E2E2 #E271E2
tetradic
#E2E271 #71E2AA #7171E2 #E271AA
square
#E2E271 #71E2AA #7171E2 #E271AA
split-complementary
#E2E271 #71AAE2 #AA71E2
monochromatic
#B4B425 #D8D83E #E2E271 #ECECA4 #F7F7D7

Accessibility & contrast

On white

1.37
#E2E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#E2E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E271
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E271#FFFFFF#000000##000000
##E2E2711.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA66
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#EFD6C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e271;
/* rgb */ color: rgb(226, 226, 113);
/* oklch */ color: oklch(89.0% 0.136 108.9);
Tailwind
colors: {
  custom: {
    50: '#edea9d',
    500: '#e2e271',
    950: '#000000',
  },
}
SCSS
$custom: #e2e271;
$custom-light: #edea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e271",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89003,
    "c": 0.13601,
    "h": 108.9
  },
  "luminance": 0.71754
}

Semantic roles & 50–950 ramp

primary
#E2E271
secondary
#4242B5
accent
#18CE18
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E271

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

Preview Lab → · Contrast checker → · Palette generator →

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