#E2D993#E2D993

#E2D993 is a very light, moderate yellow. Relative luminance 0.679; OKLCH L 87.6% C 0.090 H 101.8°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E2D993
RGBrgb(226, 217, 147)
HSLhsl(53, 58%, 73%)
HSVhsv(53, 35%, 89%)
CMYKcmyk(0%, 4%, 35%, 11.4%)
CIE-LABlab(85.96, -7.14, 35.64)
CIE-LCHlch(85.96, 36.35, 101.33°)
OKLaboklab(87.65% -0.0184 0.0881)
OKLCHoklch(87.65% 0.09 101.8)
XYZxyz(61.4442, 67.9025, 37.4679)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D993 #939CE2
analogous
#E2B193 #E2D993 #C3E293
triadic
#E2D993 #93E2D9 #D993E2
tetradic
#E2D993 #93E2B1 #939CE2 #E293C3
square
#E2D993 #93E2B1 #939CE2 #E293C3
split-complementary
#E2D993 #93C3E2 #B193E2
monochromatic
#C6B535 #D5C863 #E2D993 #EFEAC3 #F9F7E7

Accessibility & contrast

On white

1.44
#E2D993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#E2D993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D993
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D993#FFFFFF#000000##000000
##E2D9931.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48E
Deuteranopia (green-blind)
#E8D996
Tritanopia (blue-blind)
#EDD0C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2d993;
/* rgb */ color: rgb(226, 217, 147);
/* oklch */ color: oklch(87.6% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#ece4b3',
    500: '#e2d993',
    950: '#000000',
  },
}
SCSS
$custom: #e2d993;
$custom-light: #ece4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d993",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 53.165,
    "s": 57.664,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87646,
    "c": 0.09003,
    "h": 101.8
  },
  "luminance": 0.67901
}

Semantic roles & 50–950 ramp

primary
#E2D993
secondary
#5E69BB
accent
#33C520
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D993

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

Preview Lab → · Contrast checker → · Palette generator →

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