#E2D592#E2D592

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

Color values

HEX#E2D592
RGBrgb(226, 213, 146)
HSLhsl(50, 58%, 73%)
HSVhsv(50, 35%, 89%)
CMYKcmyk(0%, 5.8%, 35.4%, 11.4%)
CIE-LABlab(84.91, -5.22, 34.78)
CIE-LCHlch(84.91, 35.17, 98.54°)
OKLaboklab(86.81% -0.0129 0.0861)
OKLCHoklch(86.81% 0.087 98.5)
XYZxyz(60.3475, 65.8342, 36.7169)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D592 #929FE2
analogous
#E2AD92 #E2D592 #C7E292
triadic
#E2D592 #92E2D5 #D592E2
tetradic
#E2D592 #92E2AD #929FE2 #E292C7
square
#E2D592 #92E2AD #929FE2 #E292C7
split-complementary
#E2D592 #92C7E2 #AD92E2
monochromatic
#C5AE34 #D5C262 #E2D592 #EFE8C2 #F9F6E7

Accessibility & contrast

On white

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

On black

14.17
#E2D592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D592
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D592#FFFFFF#000000##000000
##E2D5921.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d592;
/* rgb */ color: rgb(226, 213, 146);
/* oklch */ color: oklch(86.8% 0.087 98.5);
Tailwind
colors: {
  custom: {
    50: '#ece1b2',
    500: '#e2d592',
    950: '#000000',
  },
}
SCSS
$custom: #e2d592;
$custom-light: #ece1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d592",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 146
  },
  "hsl": {
    "h": 50.25,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86813,
    "c": 0.08705,
    "h": 98.5
  },
  "luminance": 0.65833
}

Semantic roles & 50–950 ramp

primary
#E2D592
secondary
#5D6DBB
accent
#3BC620
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D592

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

Preview Lab → · Contrast checker → · Palette generator →

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