#E2E792#E2E792

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

Color values

HEX#E2E792
RGBrgb(226, 231, 146)
HSLhsl(64, 64%, 74%)
HSVhsv(64, 37%, 91%)
CMYKcmyk(2.2%, 0%, 36.8%, 9.4%)
CIE-LABlab(89.58, -14.27, 40.84)
CIE-LCHlch(89.58, 43.26, 109.27°)
OKLaboklab(90.52% -0.0389 0.1001)
OKLCHoklch(90.52% 0.107 111.2)
XYZxyz(65.1288, 75.3969, 38.3107)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E792 #9792E7
analogous
#E7C292 #E2E792 #B8E792
triadic
#E2E792 #92E2E7 #E792E2
tetradic
#E2E792 #92E7C2 #9792E7 #E792B8
square
#E2E792 #92E7C2 #9792E7 #E792B8
split-complementary
#E2E792 #92B8E7 #C292E7
monochromatic
#C7D12E #D5DC60 #E2E792 #EFF2C4 #F8F9E6

Accessibility & contrast

On white

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

On black

16.08
#E2E792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E792
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E792#FFFFFF#000000##000000
##E2E7921.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08C
Deuteranopia (green-blind)
#F4E296
Tritanopia (blue-blind)
#ECDDD2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e792;
/* rgb */ color: rgb(226, 231, 146);
/* oklch */ color: oklch(90.5% 0.107 111.2);
Tailwind
colors: {
  custom: {
    50: '#eceeb3',
    500: '#e2e792',
    950: '#000000',
  },
}
SCSS
$custom: #e2e792;
$custom-light: #eceeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e792",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 63.529,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90515,
    "c": 0.1074,
    "h": 111.2
  },
  "luminance": 0.75396
}

Semantic roles & 50–950 ramp

primary
#E2E792
secondary
#625CC1
accent
#1ACC24
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2E792

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

Preview Lab → · Contrast checker → · Palette generator →

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