#E5D782#E5D782

#E5D782 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.107 H 100.1°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E5D782
RGBrgb(229, 215, 130)
HSLhsl(52, 66%, 70%)
HSVhsv(52, 43%, 90%)
CMYKcmyk(0%, 6.1%, 43.2%, 10.2%)
CIE-LABlab(85.44, -6.79, 43.57)
CIE-LCHlch(85.44, 44.09, 98.86°)
OKLaboklab(87.21% -0.0188 0.1055)
OKLCHoklch(87.21% 0.107 100.1)
XYZxyz(60.6442, 66.8725, 30.8279)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D782 #8290E5
analogous
#E5A582 #E5D782 #C1E582
triadic
#E5D782 #82E5D7 #D782E5
tetradic
#E5D782 #82E5A5 #8290E5 #E582C1
square
#E5D782 #82E5A5 #8290E5 #E582C1
split-complementary
#E5D782 #82C1E5 #A582E5
monochromatic
#C4AE29 #DAC74F #E5D782 #F0E7B5 #FAF7E6

Accessibility & contrast

On white

1.46
#E5D782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#E5D782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D782
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D782#FFFFFF#000000##000000
##E5D7821.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D27B
Deuteranopia (green-blind)
#EAD885
Tritanopia (blue-blind)
#F2CCC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d782;
/* rgb */ color: rgb(229, 215, 130);
/* oklch */ color: oklch(87.2% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#efe3a7',
    500: '#e5d782',
    950: '#000000',
  },
}
SCSS
$custom: #e5d782;
$custom-light: #efe3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d782",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 51.515,
    "s": 65.563,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87213,
    "c": 0.10715,
    "h": 100.1
  },
  "luminance": 0.66871
}

Semantic roles & 50–950 ramp

primary
#E5D782
secondary
#4E5EBD
accent
#32CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #E5D782

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

Preview Lab → · Contrast checker → · Palette generator →

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