#E4D772#E4D772

#E4D772 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.124 H 102.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E4D772
RGBrgb(228, 215, 114)
HSLhsl(53, 68%, 67%)
HSVhsv(53, 50%, 89%)
CMYKcmyk(0%, 5.7%, 50%, 10.6%)
CIE-LABlab(85.16, -8.69, 50.98)
CIE-LCHlch(85.16, 51.72, 99.67°)
OKLaboklab(86.9% -0.0257 0.1208)
OKLCHoklch(86.9% 0.124 102)
XYZxyz(59.3343, 66.3117, 25.5903)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D772 #727FE4
analogous
#E49E72 #E4D772 #B8E472
triadic
#E4D772 #72E4D7 #D772E4
tetradic
#E4D772 #72E49E #727FE4 #E472B8
square
#E4D772 #72E49E #727FE4 #E472B8
split-complementary
#E4D772 #72B8E4 #9E72E4
monochromatic
#B8A723 #DAC83F #E4D772 #EEE6A5 #F8F4D9

Accessibility & contrast

On white

1.47
#E4D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E4D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D772
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D772#FFFFFF#000000##000000
##E4D7721.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D169
Deuteranopia (green-blind)
#EBD777
Tritanopia (blue-blind)
#F2CBC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d772;
/* rgb */ color: rgb(228, 215, 114);
/* oklch */ color: oklch(86.9% 0.124 102.0);
Tailwind
colors: {
  custom: {
    50: '#efe39d',
    500: '#e4d772',
    950: '#000000',
  },
}
SCSS
$custom: #e4d772;
$custom-light: #efe39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d772",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 53.158,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86903,
    "c": 0.12354,
    "h": 102
  },
  "luminance": 0.6631
}

Semantic roles & 50–950 ramp

primary
#E4D772
secondary
#424FB9
accent
#2BD016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D772

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

Preview Lab → · Contrast checker → · Palette generator →

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