#E2D96B#E2D96B

#E2D96B is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.132 H 104.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E2D96B
RGBrgb(226, 217, 107)
HSLhsl(55, 67%, 65%)
HSVhsv(55, 53%, 89%)
CMYKcmyk(0%, 4%, 52.7%, 11.4%)
CIE-LABlab(85.43, -11.09, 54.55)
CIE-LCHlch(85.43, 55.67, 101.49°)
OKLaboklab(87.06% -0.0332 0.128)
OKLCHoklch(87.06% 0.132 104.6)
XYZxyz(58.8324, 66.8579, 23.7128)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D96B #6B74E2
analogous
#E29D6B #E2D96B #B0E26B
triadic
#E2D96B #6BE2D9 #D96BE2
tetradic
#E2D96B #6BE29D #6B74E2 #E26BB0
square
#E2D96B #6BE29D #6B74E2 #E26BB0
split-complementary
#E2D96B #6BB0E2 #9D6BE2
monochromatic
#B0A523 #D8CC38 #E2D96B #ECE69E #F6F3D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D96B#FFFFFF#000000##000000
##E2D96B1.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)
#E9D261
Deuteranopia (green-blind)
#EDD870
Tritanopia (blue-blind)
#F0CDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d96b;
/* rgb */ color: rgb(226, 217, 107);
/* oklch */ color: oklch(87.1% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#ede498',
    500: '#e2d96b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d96b;
$custom-light: #ede498;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d96b",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 55.462,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87058,
    "c": 0.13225,
    "h": 104.6
  },
  "luminance": 0.66856
}

Semantic roles & 50–950 ramp

primary
#E2D96B
secondary
#4048B1
accent
#24CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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