#E7D772#E7D772

#E7D772 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.124 H 100.4°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E7D772
RGBrgb(231, 215, 114)
HSLhsl(52, 71%, 68%)
HSVhsv(52, 51%, 91%)
CMYKcmyk(0%, 6.9%, 50.6%, 9.4%)
CIE-LABlab(85.41, -7.48, 51.34)
CIE-LCHlch(85.41, 51.88, 98.29°)
OKLaboklab(87.16% -0.0224 0.1216)
OKLCHoklch(87.16% 0.124 100.4)
XYZxyz(60.2945, 66.8069, 25.6353)
Luminance0.6681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D772 #7282E7
analogous
#E79D72 #E7D772 #BCE772
triadic
#E7D772 #72E7D7 #D772E7
tetradic
#E7D772 #72E79D #7282E7 #E772BC
square
#E7D772 #72E79D #7282E7 #E772BC
split-complementary
#E7D772 #72BCE7 #9D72E7
monochromatic
#BEA920 #DEC83E #E7D772 #F0E6A6 #F9F5DB

Accessibility & contrast

On white

1.46
#E7D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E7D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D772
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D772#FFFFFF#000000##000000
##E7D7721.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D269
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d772;
/* rgb */ color: rgb(231, 215, 114);
/* oklch */ color: oklch(87.2% 0.124 100.4);
Tailwind
colors: {
  custom: {
    50: '#f1e39d',
    500: '#e7d772',
    950: '#000000',
  },
}
SCSS
$custom: #e7d772;
$custom-light: #f1e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d772",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 51.795,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87162,
    "c": 0.12363,
    "h": 100.4
  },
  "luminance": 0.66805
}

Semantic roles & 50–950 ramp

primary
#E7D772
secondary
#4051BD
accent
#2DD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D772

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

Preview Lab → · Contrast checker → · Palette generator →

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