#E8D372#E8D372

#E8D372 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.120 H 97.4°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#E8D372
RGBrgb(232, 211, 114)
HSLhsl(49, 72%, 68%)
HSVhsv(49, 51%, 91%)
CMYKcmyk(0%, 9.1%, 50.9%, 9%)
CIE-LABlab(84.46, -5.04, 50.23)
CIE-LCHlch(84.46, 50.49, 95.73°)
OKLaboklab(86.44% -0.0155 0.1191)
OKLCHoklch(86.44% 0.12 97.4)
XYZxyz(59.6122, 64.9616, 25.3151)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D372 #7287E8
analogous
#E89872 #E8D372 #C2E872
triadic
#E8D372 #72E8D3 #D372E8
tetradic
#E8D372 #72E898 #7287E8 #E872C2
square
#E8D372 #72E898 #7287E8 #E872C2
split-complementary
#E8D372 #72C2E8 #9872E8
monochromatic
#C0A41F #DFC33D #E8D372 #F1E3A7 #F9F4DB

Accessibility & contrast

On white

1.50
#E8D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#E8D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D372
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D372#FFFFFF#000000##000000
##E8D3721.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#F7C6BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d372;
/* rgb */ color: rgb(232, 211, 114);
/* oklch */ color: oklch(86.4% 0.120 97.4);
Tailwind
colors: {
  custom: {
    50: '#f1e09d',
    500: '#e8d372',
    950: '#000000',
  },
}
SCSS
$custom: #e8d372;
$custom-light: #f1e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d372",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 49.322,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86436,
    "c": 0.12013,
    "h": 97.4
  },
  "luminance": 0.64959
}

Semantic roles & 50–950 ramp

primary
#E8D372
secondary
#3F56BF
accent
#34D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D372

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

Preview Lab → · Contrast checker → · Palette generator →

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