#E2E372#E2E372

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

Color values

HEX#E2E372
RGBrgb(226, 227, 114)
HSLhsl(61, 67%, 67%)
HSVhsv(61, 50%, 89%)
CMYKcmyk(0.4%, 0%, 49.8%, 11%)
CIE-LABlab(88.12, -15.48, 54.47)
CIE-LCHlch(88.12, 56.63, 105.86°)
OKLaboklab(89.22% -0.0451 0.1285)
OKLCHoklch(89.22% 0.136 109.3)
XYZxyz(61.8718, 72.3233, 26.6168)
Luminance0.7232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E372 #7372E3
analogous
#E3AC72 #E2E372 #AAE372
triadic
#E2E372 #72E2E3 #E372E2
tetradic
#E2E372 #72E3AC #7372E3 #E372AA
square
#E2E372 #72E3AC #7372E3 #E372AA
split-complementary
#E2E372 #72AAE3 #AC72E3
monochromatic
#B5B624 #D7D93F #E2E372 #EDEDA5 #F7F7D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E372#FFFFFF#000000##000000
##E2E3721.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)
#F2DB68
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#EFD7C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e372;
/* rgb */ color: rgb(226, 227, 114);
/* oklch */ color: oklch(89.2% 0.136 109.3);
Tailwind
colors: {
  custom: {
    50: '#edeb9d',
    500: '#e2e372',
    950: '#000000',
  },
}
SCSS
$custom: #e2e372;
$custom-light: #edeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e372",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 60.531,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89224,
    "c": 0.13615,
    "h": 109.3
  },
  "luminance": 0.72322
}

Semantic roles & 50–950 ramp

primary
#E2E372
secondary
#4342B7
accent
#17CF18
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E372

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

Preview Lab → · Contrast checker → · Palette generator →

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