#E2D591#E2D591

#E2D591 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.088 H 98.7°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E2D591
RGBrgb(226, 213, 145)
HSLhsl(50, 58%, 73%)
HSVhsv(50, 36%, 89%)
CMYKcmyk(0%, 5.8%, 35.8%, 11.4%)
CIE-LABlab(84.90, -5.34, 35.27)
CIE-LCHlch(84.90, 35.67, 98.60°)
OKLaboklab(86.8% -0.0133 0.0872)
OKLCHoklch(86.8% 0.088 98.7)
XYZxyz(60.2700, 65.8032, 36.3090)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D591 #919EE2
analogous
#E2AC91 #E2D591 #C7E291
triadic
#E2D591 #91E2D5 #D591E2
tetradic
#E2D591 #91E2AC #919EE2 #E291C7
square
#E2D591 #91E2AC #919EE2 #E291C7
split-complementary
#E2D591 #91C7E2 #AC91E2
monochromatic
#C5AD34 #D5C361 #E2D591 #EFE7C1 #F9F6E7

Accessibility & contrast

On white

1.48
#E2D591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E2D591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D591
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D591#FFFFFF#000000##000000
##E2D5911.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D18C
Deuteranopia (green-blind)
#E6D693
Tritanopia (blue-blind)
#EECCC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d591;
/* rgb */ color: rgb(226, 213, 145);
/* oklch */ color: oklch(86.8% 0.088 98.7);
Tailwind
colors: {
  custom: {
    50: '#ece1b2',
    500: '#e2d591',
    950: '#000000',
  },
}
SCSS
$custom: #e2d591;
$custom-light: #ece1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d591",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 145
  },
  "hsl": {
    "h": 50.37,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86795,
    "c": 0.08821,
    "h": 98.7
  },
  "luminance": 0.65802
}

Semantic roles & 50–950 ramp

primary
#E2D591
secondary
#5D6CBB
accent
#3AC620
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161511
muted
#858481

Preview Lab

Preview with #E2D591

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

Preview Lab → · Contrast checker → · Palette generator →

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