#E2E793#E2E793

#E2E793 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.5% C 0.106 H 111.3°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#E2E793
RGBrgb(226, 231, 147)
HSLhsl(64, 64%, 74%)
HSVhsv(64, 36%, 91%)
CMYKcmyk(2.2%, 0%, 36.4%, 9.4%)
CIE-LABlab(89.59, -14.16, 40.36)
CIE-LCHlch(89.59, 42.77, 109.33°)
OKLaboklab(90.53% -0.0385 0.0991)
OKLCHoklch(90.53% 0.106 111.3)
XYZxyz(65.2070, 75.4282, 38.7221)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E793 #9893E7
analogous
#E7C293 #E2E793 #B8E793
triadic
#E2E793 #93E2E7 #E793E2
tetradic
#E2E793 #93E7C2 #9893E7 #E793B8
square
#E2E793 #93E7C2 #9893E7 #E793B8
split-complementary
#E2E793 #93B8E7 #C293E7
monochromatic
#C7D12F #D5DC61 #E2E793 #EFF2C5 #F8F9E6

Accessibility & contrast

On white

1.31
#E2E793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#E2E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E793
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E793#FFFFFF#000000##000000
##E2E7931.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08D
Deuteranopia (green-blind)
#F4E297
Tritanopia (blue-blind)
#ECDED2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e793;
/* rgb */ color: rgb(226, 231, 147);
/* oklch */ color: oklch(90.5% 0.106 111.3);
Tailwind
colors: {
  custom: {
    50: '#eceeb3',
    500: '#e2e793',
    950: '#000000',
  },
}
SCSS
$custom: #e2e793;
$custom-light: #eceeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e793",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 63.571,
    "s": 63.636,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90531,
    "c": 0.10628,
    "h": 111.3
  },
  "luminance": 0.75427
}

Semantic roles & 50–950 ramp

primary
#E2E793
secondary
#635DC1
accent
#1ACB25
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2E793

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

Preview Lab → · Contrast checker → · Palette generator →

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