#E7DB72#E7DB72

#E7DB72 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.0% C 0.127 H 102.8°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#E7DB72
RGBrgb(231, 219, 114)
HSLhsl(54, 71%, 68%)
HSVhsv(54, 51%, 91%)
CMYKcmyk(0%, 5.2%, 50.6%, 9.4%)
CIE-LABlab(86.44, -9.49, 52.57)
CIE-LCHlch(86.44, 53.42, 100.24°)
OKLaboklab(87.98% -0.0282 0.1243)
OKLCHoklch(87.98% 0.127 102.8)
XYZxyz(61.3255, 68.8689, 25.9790)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB72 #727EE7
analogous
#E7A072 #E7DB72 #B9E772
triadic
#E7DB72 #72E7DB #DB72E7
tetradic
#E7DB72 #72E7A0 #727EE7 #E772B9
square
#E7DB72 #72E7A0 #727EE7 #E772B9
split-complementary
#E7DB72 #72B9E7 #A072E7
monochromatic
#BEAE20 #DECE3E #E7DB72 #F0E8A6 #F9F6DB

Accessibility & contrast

On white

1.42
#E7DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#E7DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB72
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB72#FFFFFF#000000##000000
##E7DB721.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD568
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#F6CFC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db72;
/* rgb */ color: rgb(231, 219, 114);
/* oklch */ color: oklch(88.0% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#f1e69d',
    500: '#e7db72',
    950: '#000000',
  },
}
SCSS
$custom: #e7db72;
$custom-light: #f1e69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db72",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 53.846,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87981,
    "c": 0.12743,
    "h": 102.8
  },
  "luminance": 0.68867
}

Semantic roles & 50–950 ramp

primary
#E7DB72
secondary
#404DBD
accent
#26D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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