#E2E97B#E2E97B

#E2E97B is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.6% C 0.134 H 112.0°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#E2E97B
RGBrgb(226, 233, 123)
HSLhsl(64, 71%, 70%)
HSVhsv(64, 47%, 91%)
CMYKcmyk(3%, 0%, 47.2%, 8.6%)
CIE-LABlab(89.80, -17.62, 52.27)
CIE-LCHlch(89.80, 55.16, 108.63°)
OKLaboklab(90.6% -0.0503 0.1244)
OKLCHoklch(90.6% 0.134 112)
XYZxyz(64.0792, 75.8778, 30.0053)
Luminance0.7588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E97B #827BE9
analogous
#E9B97B #E2E97B #ABE97B
triadic
#E2E97B #7BE2E9 #E97BE2
tetradic
#E2E97B #7BE9B9 #827BE9 #E97BAB
square
#E2E97B #7BE9B9 #827BE9 #E97BAB
split-complementary
#E2E97B #7BABE9 #B97BE9
monochromatic
#BEC821 #D6E047 #E2E97B #EEF2AF #F9FAE4

Accessibility & contrast

On white

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

On black

16.18
#E2E97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E97B
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E97B#FFFFFF#000000##000000
##E2E97B1.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E071
Deuteranopia (green-blind)
#F8E381
Tritanopia (blue-blind)
#EEDECF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e97b;
/* rgb */ color: rgb(226, 233, 123);
/* oklch */ color: oklch(90.6% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa3',
    500: '#e2e97b',
    950: '#000000',
  },
}
SCSS
$custom: #e2e97b;
$custom-light: #edefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e97b",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 63.818,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90595,
    "c": 0.1342,
    "h": 112
  },
  "luminance": 0.75877
}

Semantic roles & 50–950 ramp

primary
#E2E97B
secondary
#4E47C2
accent
#12D31E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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