#E8D371#E8D371

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

Color values

HEX#E8D371
RGBrgb(232, 211, 113)
HSLhsl(49, 72%, 68%)
HSVhsv(49, 51%, 91%)
CMYKcmyk(0%, 9.1%, 51.3%, 9%)
CIE-LABlab(84.45, -5.13, 50.70)
CIE-LCHlch(84.45, 50.96, 95.78°)
OKLaboklab(86.42% -0.0158 0.1201)
OKLCHoklch(86.42% 0.121 97.5)
XYZxyz(59.5556, 64.9389, 25.0170)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D371 #7186E8
analogous
#E89871 #E8D371 #C1E871
triadic
#E8D371 #71E8D3 #D371E8
tetradic
#E8D371 #71E898 #7186E8 #E871C1
square
#E8D371 #71E898 #7186E8 #E871C1
split-complementary
#E8D371 #71C1E8 #9871E8
monochromatic
#C0A31F #DFC33C #E8D371 #F1E3A6 #F9F4DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D371#FFFFFF#000000##000000
##E8D3711.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)
#E4CF68
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#F7C6BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d371;
/* rgb */ color: rgb(232, 211, 113);
/* oklch */ color: oklch(86.4% 0.121 97.5);
Tailwind
colors: {
  custom: {
    50: '#f2e09c',
    500: '#e8d371',
    950: '#000000',
  },
}
SCSS
$custom: #e8d371;
$custom-light: #f2e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d371",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 49.412,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86423,
    "c": 0.1211,
    "h": 97.5
  },
  "luminance": 0.64937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D371

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

Preview Lab → · Contrast checker → · Palette generator →

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