#E4E772#E4E772

#E4E772 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.2% C 0.140 H 110.2°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#E4E772
RGBrgb(228, 231, 114)
HSLhsl(62, 71%, 68%)
HSVhsv(62, 51%, 91%)
CMYKcmyk(1.3%, 0%, 50.6%, 9.4%)
CIE-LABlab(89.33, -16.65, 55.93)
CIE-LCHlch(89.33, 58.35, 106.58°)
OKLaboklab(90.22% -0.0485 0.1316)
OKLCHoklch(90.22% 0.14 110.2)
XYZxyz(63.6095, 74.8621, 27.0153)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E772 #7572E7
analogous
#E7AF72 #E4E772 #AAE772
triadic
#E4E772 #72E4E7 #E772E4
tetradic
#E4E772 #72E7AF #7572E7 #E772AA
square
#E4E772 #72E7AF #7572E7 #E772AA
split-complementary
#E4E772 #72AAE7 #AF72E7
monochromatic
#BABE20 #DADE3E #E4E772 #EEF0A6 #F8F9DB

Accessibility & contrast

On white

1.31
#E4E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#E4E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E772
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E772#FFFFFF#000000##000000
##E4E7721.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4e772;
/* rgb */ color: rgb(228, 231, 114);
/* oklch */ color: oklch(90.2% 0.140 110.2);
Tailwind
colors: {
  custom: {
    50: '#efee9d',
    500: '#e4e772',
    950: '#000000',
  },
}
SCSS
$custom: #e4e772;
$custom-light: #efee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e772",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 61.538,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90222,
    "c": 0.14027,
    "h": 110.2
  },
  "luminance": 0.74861
}

Semantic roles & 50–950 ramp

primary
#E4E772
secondary
#4340BD
accent
#13D317
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E772

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

Preview Lab → · Contrast checker → · Palette generator →

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