#E2E770#E2E770

#E2E770 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.0% C 0.142 H 111.1°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#E2E770
RGBrgb(226, 231, 112)
HSLhsl(63, 71%, 67%)
HSVhsv(63, 52%, 91%)
CMYKcmyk(2.2%, 0%, 51.5%, 9.4%)
CIE-LABlab(89.15, -17.61, 56.60)
CIE-LCHlch(89.15, 59.28, 107.28°)
OKLaboklab(90.04% -0.0513 0.1329)
OKLCHoklch(90.04% 0.142 111.1)
XYZxyz(62.8659, 74.4918, 26.3928)
Luminance0.7449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E770 #7570E7
analogous
#E7B170 #E2E770 #A7E770
triadic
#E2E770 #70E2E7 #E770E2
tetradic
#E2E770 #70E7B1 #7570E7 #E770A7
square
#E2E770 #70E7B1 #7570E7 #E770A7
split-complementary
#E2E770 #70A7E7 #B170E7
monochromatic
#B6BD20 #D7DE3C #E2E770 #EDF0A4 #F7F9D9

Accessibility & contrast

On white

1.32
#E2E770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#E2E770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E770
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E770#FFFFFF#000000##000000
##E2E7701.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#EFDBCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e770;
/* rgb */ color: rgb(226, 231, 112);
/* oklch */ color: oklch(90.0% 0.142 111.1);
Tailwind
colors: {
  custom: {
    50: '#edee9c',
    500: '#e2e770',
    950: '#000000',
  },
}
SCSS
$custom: #e2e770;
$custom-light: #edee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e770",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 62.521,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90039,
    "c": 0.14248,
    "h": 111.1
  },
  "luminance": 0.7449
}

Semantic roles & 50–950 ramp

primary
#E2E770
secondary
#443FBC
accent
#12D31A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E2E770

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

Preview Lab → · Contrast checker → · Palette generator →

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