#E2E370#E2E370

#E2E370 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.2% C 0.138 H 109.3°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#E2E370
RGBrgb(226, 227, 112)
HSLhsl(61, 67%, 66%)
HSVhsv(61, 51%, 89%)
CMYKcmyk(0.4%, 0%, 50.7%, 11%)
CIE-LABlab(88.10, -15.65, 55.37)
CIE-LCHlch(88.10, 57.54, 105.78°)
OKLaboklab(89.2% -0.0457 0.1303)
OKLCHoklch(89.2% 0.138 109.3)
XYZxyz(61.7592, 72.2782, 26.0239)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E370 #7170E3
analogous
#E3AB70 #E2E370 #A9E370
triadic
#E2E370 #70E2E3 #E370E2
tetradic
#E2E370 #70E3AB #7170E3 #E370A9
square
#E2E370 #70E3AB #7170E3 #E370A9
split-complementary
#E2E370 #70A9E3 #AB70E3
monochromatic
#B4B523 #D8D93D #E2E370 #ECEDA3 #F7F7D6

Accessibility & contrast

On white

1.36
#E2E370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#E2E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E370
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E370#FFFFFF#000000##000000
##E2E3701.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB65
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#EFD7C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e370;
/* rgb */ color: rgb(226, 227, 112);
/* oklch */ color: oklch(89.2% 0.138 109.3);
Tailwind
colors: {
  custom: {
    50: '#edeb9c',
    500: '#e2e370',
    950: '#000000',
  },
}
SCSS
$custom: #e2e370;
$custom-light: #edeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e370",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 60.522,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.892,
    "c": 0.13805,
    "h": 109.3
  },
  "luminance": 0.72277
}

Semantic roles & 50–950 ramp

primary
#E2E370
secondary
#4241B6
accent
#16CF18
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E370

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

Preview Lab → · Contrast checker → · Palette generator →

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