#E2E181#E2E181

#E2E181 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.119 H 108.1°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E2E181
RGBrgb(226, 225, 129)
HSLhsl(59, 63%, 70%)
HSVhsv(59, 43%, 89%)
CMYKcmyk(0%, 0.4%, 42.9%, 11.4%)
CIE-LABlab(87.78, -13.10, 46.92)
CIE-LCHlch(87.78, 48.72, 105.60°)
OKLaboklab(89.01% -0.0369 0.113)
OKLCHoklch(89.01% 0.119 108.1)
XYZxyz(62.2528, 71.6056, 31.3065)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E181 #8182E2
analogous
#E2B081 #E2E181 #B3E281
triadic
#E2E181 #81E2E1 #E181E2
tetradic
#E2E181 #81E2B0 #8182E2 #E281B3
square
#E2E181 #81E2B0 #8182E2 #E281B3
split-complementary
#E2E181 #81B3E2 #B081E2
monochromatic
#BDBC2C #D7D54F #E2E181 #EDEDB3 #F9F9E4

Accessibility & contrast

On white

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

On black

15.32
#E2E181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E181
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E181#FFFFFF#000000##000000
##E2E1811.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA79
Deuteranopia (green-blind)
#F1DE85
Tritanopia (blue-blind)
#EED6CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e181;
/* rgb */ color: rgb(226, 225, 129);
/* oklch */ color: oklch(89.0% 0.119 108.1);
Tailwind
colors: {
  custom: {
    50: '#edeaa7',
    500: '#e2e181',
    950: '#000000',
  },
}
SCSS
$custom: #e2e181;
$custom-light: #edeaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e181",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 59.381,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89007,
    "c": 0.11885,
    "h": 108.1
  },
  "luminance": 0.71604
}

Semantic roles & 50–950 ramp

primary
#E2E181
secondary
#4E4FBA
accent
#1DCA1B
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#161610
muted
#858480

Preview Lab

Preview with #E2E181

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

Preview Lab → · Contrast checker → · Palette generator →

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