#E2E795#E2E795

#E2E795 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.6% C 0.104 H 111.3°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#E2E795
RGBrgb(226, 231, 149)
HSLhsl(64, 63%, 75%)
HSVhsv(64, 35%, 91%)
CMYKcmyk(2.2%, 0%, 35.5%, 9.4%)
CIE-LABlab(89.62, -13.93, 39.40)
CIE-LCHlch(89.62, 41.79, 109.47°)
OKLaboklab(90.56% -0.0377 0.0969)
OKLCHoklch(90.56% 0.104 111.3)
XYZxyz(65.3653, 75.4915, 39.5559)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E795 #9A95E7
analogous
#E7C395 #E2E795 #B9E795
triadic
#E2E795 #95E2E7 #E795E2
tetradic
#E2E795 #95E7C3 #9A95E7 #E795B9
square
#E2E795 #95E7C3 #9A95E7 #E795B9
split-complementary
#E2E795 #95B9E7 #C395E7
monochromatic
#C7D031 #D4DC63 #E2E795 #F0F2C7 #F8F9E6

Accessibility & contrast

On white

1.30
#E2E795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#E2E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E795
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E795#FFFFFF#000000##000000
##E2E7951.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e795;
/* rgb */ color: rgb(226, 231, 149);
/* oklch */ color: oklch(90.6% 0.104 111.3);
Tailwind
colors: {
  custom: {
    50: '#eceeb5',
    500: '#e2e795',
    950: '#000000',
  },
}
SCSS
$custom: #e2e795;
$custom-light: #eceeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e795",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 63.659,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90564,
    "c": 0.10401,
    "h": 111.3
  },
  "luminance": 0.75491
}

Semantic roles & 50–950 ramp

primary
#E2E795
secondary
#655FC1
accent
#1BCB25
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2E795

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

Preview Lab → · Contrast checker → · Palette generator →

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