#E2DB72#E2DB72

#E2DB72 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.128 H 105.3°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#E2DB72
RGBrgb(226, 219, 114)
HSLhsl(56, 66%, 67%)
HSVhsv(56, 50%, 89%)
CMYKcmyk(0%, 3.1%, 49.6%, 11.4%)
CIE-LABlab(86.03, -11.50, 51.99)
CIE-LCHlch(86.03, 53.24, 102.48°)
OKLaboklab(87.56% -0.0337 0.1231)
OKLCHoklch(87.56% 0.128 105.3)
XYZxyz(59.7344, 68.0484, 25.9044)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB72 #7279E2
analogous
#E2A372 #E2DB72 #B1E272
triadic
#E2DB72 #72E2DB #DB72E2
tetradic
#E2DB72 #72E2A3 #7279E2 #E272B1
square
#E2DB72 #72E2A3 #7279E2 #E272B1
split-complementary
#E2DB72 #72B1E2 #A372E2
monochromatic
#B4AC25 #D8CE3F #E2DB72 #ECE8A5 #F7F5D8

Accessibility & contrast

On white

1.44
#E2DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#E2DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB72
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB72#FFFFFF#000000##000000
##E2DB721.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD469
Deuteranopia (green-blind)
#EDD977
Tritanopia (blue-blind)
#F0CFC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2db72;
/* rgb */ color: rgb(226, 219, 114);
/* oklch */ color: oklch(87.6% 0.128 105.3);
Tailwind
colors: {
  custom: {
    50: '#ede69d',
    500: '#e2db72',
    950: '#000000',
  },
}
SCSS
$custom: #e2db72;
$custom-light: #ede69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db72",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 56.25,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87558,
    "c": 0.12759,
    "h": 105.3
  },
  "luminance": 0.68047
}

Semantic roles & 50–950 ramp

primary
#E2DB72
secondary
#434AB5
accent
#23CE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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