#E4D372#E4D372

#E4D372 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.120 H 99.6°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#E4D372
RGBrgb(228, 211, 114)
HSLhsl(51, 68%, 67%)
HSVhsv(51, 50%, 89%)
CMYKcmyk(0%, 7.5%, 50%, 10.6%)
CIE-LABlab(84.12, -6.66, 49.74)
CIE-LCHlch(84.12, 50.18, 97.63°)
OKLaboklab(86.08% -0.0199 0.1181)
OKLCHoklch(86.08% 0.12 99.6)
XYZxyz(58.3282, 64.2995, 25.2549)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D372 #7283E4
analogous
#E49A72 #E4D372 #BCE472
triadic
#E4D372 #72E4D3 #D372E4
tetradic
#E4D372 #72E49A #7283E4 #E472BC
square
#E4D372 #72E49A #7283E4 #E472BC
split-complementary
#E4D372 #72BCE4 #9A72E4
monochromatic
#B8A223 #DAC33F #E4D372 #EEE3A5 #F8F3D9

Accessibility & contrast

On white

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

On black

13.86
#E4D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D372
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D372#FFFFFF#000000##000000
##E4D3721.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E8D576
Tritanopia (blue-blind)
#F3C7BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d372;
/* rgb */ color: rgb(228, 211, 114);
/* oklch */ color: oklch(86.1% 0.120 99.6);
Tailwind
colors: {
  custom: {
    50: '#efe09d',
    500: '#e4d372',
    950: '#000000',
  },
}
SCSS
$custom: #e4d372;
$custom-light: #efe09d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d372",
  "rgb": {
    "r": 228,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 51.053,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86083,
    "c": 0.11977,
    "h": 99.6
  },
  "luminance": 0.64297
}

Semantic roles & 50–950 ramp

primary
#E4D372
secondary
#4253B9
accent
#31D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D372

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

Preview Lab → · Contrast checker → · Palette generator →

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