#E5E772#E5E772

#E5E772 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.3% C 0.140 H 109.8°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#E5E772
RGBrgb(229, 231, 114)
HSLhsl(61, 71%, 68%)
HSVhsv(61, 51%, 91%)
CMYKcmyk(0.9%, 0%, 50.6%, 9.4%)
CIE-LABlab(89.41, -16.25, 56.04)
CIE-LCHlch(89.41, 58.35, 106.17°)
OKLaboklab(90.3% -0.0474 0.1318)
OKLCHoklch(90.3% 0.14 109.8)
XYZxyz(63.9277, 75.0262, 27.0303)
Luminance0.7502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E772 #7472E7
analogous
#E7AF72 #E5E772 #AAE772
triadic
#E5E772 #72E5E7 #E772E5
tetradic
#E5E772 #72E7AF #7472E7 #E772AA
square
#E5E772 #72E7AF #7472E7 #E772AA
split-complementary
#E5E772 #72AAE7 #AF72E7
monochromatic
#BCBE20 #DBDE3E #E5E772 #EFF0A6 #F8F9DB

Accessibility & contrast

On white

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

On black

16.01
#E5E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E772
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E772#FFFFFF#000000##000000
##E5E7721.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#F8E378
Tritanopia (blue-blind)
#F3DBCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e5e772;
/* rgb */ color: rgb(229, 231, 114);
/* oklch */ color: oklch(90.3% 0.140 109.8);
Tailwind
colors: {
  custom: {
    50: '#efee9d',
    500: '#e5e772',
    950: '#000000',
  },
}
SCSS
$custom: #e5e772;
$custom-light: #efee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e772",
  "rgb": {
    "r": 229,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 61.026,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90302,
    "c": 0.14011,
    "h": 109.8
  },
  "luminance": 0.75025
}

Semantic roles & 50–950 ramp

primary
#E5E772
secondary
#4240BD
accent
#13D316
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E5E772

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

Preview Lab → · Contrast checker → · Palette generator →

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