#E2E772#E2E772

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

Color values

HEX#E2E772
RGBrgb(226, 231, 114)
HSLhsl(63, 71%, 68%)
HSVhsv(63, 51%, 91%)
CMYKcmyk(2.2%, 0%, 50.6%, 9.4%)
CIE-LABlab(89.18, -17.44, 55.71)
CIE-LCHlch(89.18, 58.38, 107.38°)
OKLaboklab(90.06% -0.0506 0.1312)
OKLCHoklch(90.06% 0.141 111.1)
XYZxyz(62.9785, 74.5368, 26.9858)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E772 #7772E7
analogous
#E7B172 #E2E772 #A8E772
triadic
#E2E772 #72E2E7 #E772E2
tetradic
#E2E772 #72E7B1 #7772E7 #E772A8
square
#E2E772 #72E7B1 #7772E7 #E772A8
split-complementary
#E2E772 #72A8E7 #B172E7
monochromatic
#B7BE20 #D7DE3E #E2E772 #EDF0A6 #F8F9DB

Accessibility & contrast

On white

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

On black

15.91
#E2E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E772
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E772#FFFFFF#000000##000000
##E2E7721.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE67
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#EFDBCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e772;
/* rgb */ color: rgb(226, 231, 114);
/* oklch */ color: oklch(90.1% 0.141 111.1);
Tailwind
colors: {
  custom: {
    50: '#edee9d',
    500: '#e2e772',
    950: '#000000',
  },
}
SCSS
$custom: #e2e772;
$custom-light: #edee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e772",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 62.564,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90063,
    "c": 0.14061,
    "h": 111.1
  },
  "luminance": 0.74535
}

Semantic roles & 50–950 ramp

primary
#E2E772
secondary
#4540BD
accent
#13D31B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E772

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

Preview Lab → · Contrast checker → · Palette generator →

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