#E2E572#E2E572

#E2E572 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.6% C 0.138 H 110.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#E2E572
RGBrgb(226, 229, 114)
HSLhsl(62, 69%, 67%)
HSVhsv(62, 50%, 90%)
CMYKcmyk(1.3%, 0%, 50.2%, 10.2%)
CIE-LABlab(88.65, -16.46, 55.09)
CIE-LCHlch(88.65, 57.50, 106.64°)
OKLaboklab(89.64% -0.0479 0.1298)
OKLCHoklch(89.64% 0.138 110.2)
XYZxyz(62.4220, 73.4237, 26.8002)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E572 #7572E5
analogous
#E5AE72 #E2E572 #A9E572
triadic
#E2E572 #72E2E5 #E572E2
tetradic
#E2E572 #72E5AE #7572E5 #E572A9
square
#E2E572 #72E5AE #7572E5 #E572A9
split-complementary
#E2E572 #72A9E5 #AE72E5
monochromatic
#B6BA22 #D7DB3E #E2E572 #EDEFA6 #F7F8D9

Accessibility & contrast

On white

1.34
#E2E572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#E2E572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E572
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E572#FFFFFF#000000##000000
##E2E5721.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD67
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#EFD9CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e572;
/* rgb */ color: rgb(226, 229, 114);
/* oklch */ color: oklch(89.6% 0.138 110.2);
Tailwind
colors: {
  custom: {
    50: '#eded9d',
    500: '#e2e572',
    950: '#000000',
  },
}
SCSS
$custom: #e2e572;
$custom-light: #eded9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e572",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 114
  },
  "hsl": {
    "h": 61.565,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89643,
    "c": 0.13837,
    "h": 110.2
  },
  "luminance": 0.73422
}

Semantic roles & 50–950 ramp

primary
#E2E572
secondary
#4441BA
accent
#15D11A
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E572

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

Preview Lab → · Contrast checker → · Palette generator →

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