#E2D795#E2D795

#E2D795 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.086 H 99.9°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E2D795
RGBrgb(226, 215, 149)
HSLhsl(51, 57%, 74%)
HSVhsv(51, 34%, 89%)
CMYKcmyk(0%, 4.9%, 34.1%, 11.4%)
CIE-LABlab(85.47, -5.89, 33.98)
CIE-LCHlch(85.47, 34.49, 99.83°)
OKLaboklab(87.27% -0.0147 0.0843)
OKLCHoklch(87.27% 0.086 99.9)
XYZxyz(61.0901, 66.9411, 38.1308)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D795 #95A0E2
analogous
#E2B095 #E2D795 #C6E295
triadic
#E2D795 #95E2D7 #D795E2
tetradic
#E2D795 #95E2B0 #95A0E2 #E295C6
square
#E2D795 #95E2B0 #95A0E2 #E295C6
split-complementary
#E2D795 #95C6E2 #B095E2
monochromatic
#C6B236 #D5C565 #E2D795 #EFE9C5 #F8F6E7

Accessibility & contrast

On white

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

On black

14.39
#E2D795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D795
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D795#FFFFFF#000000##000000
##E2D7951.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D390
Deuteranopia (green-blind)
#E7D897
Tritanopia (blue-blind)
#EDCEC6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2d795;
/* rgb */ color: rgb(226, 215, 149);
/* oklch */ color: oklch(87.3% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#ece3b4',
    500: '#e2d795',
    950: '#000000',
  },
}
SCSS
$custom: #e2d795;
$custom-light: #ece3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d795",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 51.429,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87273,
    "c": 0.0856,
    "h": 99.9
  },
  "luminance": 0.6694
}

Semantic roles & 50–950 ramp

primary
#E2D795
secondary
#606DBB
accent
#38C521
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D795

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

Preview Lab → · Contrast checker → · Palette generator →

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