#E2E299#E2E299

#E2E299 is a very light, moderate yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.093 H 108.1°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#E2E299
RGBrgb(226, 226, 153)
HSLhsl(60, 56%, 74%)
HSVhsv(60, 32%, 89%)
CMYKcmyk(0%, 0%, 32.3%, 11.4%)
CIE-LABlab(88.38, -10.97, 35.77)
CIE-LCHlch(88.38, 37.42, 107.05°)
OKLaboklab(89.6% -0.029 0.0886)
OKLCHoklch(89.6% 0.093 108.1)
XYZxyz(64.3106, 72.8625, 40.8069)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E299 #9999E2
analogous
#E2BE99 #E2E299 #BEE299
triadic
#E2E299 #99E2E2 #E299E2
tetradic
#E2E299 #99E2BE #9999E2 #E299BE
square
#E2E299 #99E2BE #9999E2 #E299BE
split-complementary
#E2E299 #99BEE2 #BE99E2
monochromatic
#C7C73A #D4D469 #E2E299 #F0F0C9 #F8F8E7

Accessibility & contrast

On white

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

On black

15.57
#E2E299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E299
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E299#FFFFFF#000000##000000
##E2E2991.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC94
Deuteranopia (green-blind)
#EFDF9C
Tritanopia (blue-blind)
#ECD9CF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e299;
/* rgb */ color: rgb(226, 226, 153);
/* oklch */ color: oklch(89.6% 0.093 108.1);
Tailwind
colors: {
  custom: {
    50: '#ecebb7',
    500: '#e2e299',
    950: '#000000',
  },
}
SCSS
$custom: #e2e299;
$custom-light: #ecebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e299",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89598,
    "c": 0.09328,
    "h": 108.1
  },
  "luminance": 0.72861
}

Semantic roles & 50–950 ramp

primary
#E2E299
secondary
#6464BB
accent
#22C322
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2E299

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

Preview Lab → · Contrast checker → · Palette generator →

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