#E2D372#E2D372

#E2D372 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.120 H 100.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#E2D372
RGBrgb(226, 211, 114)
HSLhsl(52, 66%, 67%)
HSVhsv(52, 50%, 89%)
CMYKcmyk(0%, 6.6%, 49.6%, 11.4%)
CIE-LABlab(83.95, -7.47, 49.50)
CIE-LCHlch(83.95, 50.06, 98.58°)
OKLaboklab(85.91% -0.0221 0.1176)
OKLCHoklch(85.91% 0.12 100.6)
XYZxyz(57.6972, 63.9742, 25.2253)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D372 #7281E2
analogous
#E29B72 #E2D372 #B9E272
triadic
#E2D372 #72E2D3 #D372E2
tetradic
#E2D372 #72E29B #7281E2 #E272B9
square
#E2D372 #72E29B #7281E2 #E272B9
split-complementary
#E2D372 #72B9E2 #9B72E2
monochromatic
#B4A125 #D8C33F #E2D372 #ECE3A5 #F7F3D8

Accessibility & contrast

On white

1.52
#E2D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#E2D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D372
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D372#FFFFFF#000000##000000
##E2D3721.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#E7D476
Tritanopia (blue-blind)
#F0C7BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d372;
/* rgb */ color: rgb(226, 211, 114);
/* oklch */ color: oklch(85.9% 0.120 100.6);
Tailwind
colors: {
  custom: {
    50: '#ede09d',
    500: '#e2d372',
    950: '#000000',
  },
}
SCSS
$custom: #e2d372;
$custom-light: #ede09d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d372",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 51.964,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85909,
    "c": 0.11966,
    "h": 100.6
  },
  "luminance": 0.63972
}

Semantic roles & 50–950 ramp

primary
#E2D372
secondary
#4352B5
accent
#30CE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D372

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

Preview Lab → · Contrast checker → · Palette generator →

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