#E2D95B#E2D95B

#E2D95B is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.146 H 105.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E2D95B
RGBrgb(226, 217, 91)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 4%, 59.7%, 11.4%)
CIE-LABlab(85.28, -12.28, 61.53)
CIE-LCHlch(85.28, 62.74, 101.28°)
OKLaboklab(86.89% -0.0384 0.1411)
OKLCHoklch(86.89% 0.146 105.2)
XYZxyz(58.0672, 66.5518, 19.6825)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D95B #5B64E2
analogous
#E2965B #E2D95B #A8E25B
triadic
#E2D95B #5BE2D9 #D95BE2
tetradic
#E2D95B #5BE296 #5B64E2 #E25BA8
square
#E2D95B #5BE296 #5B64E2 #E25BA8
split-complementary
#E2D95B #5BA8E2 #965BE2
monochromatic
#A59C1D #D9CD27 #E2D95B #EBE58F #F4F1C3

Accessibility & contrast

On white

1.47
#E2D95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#E2D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D95B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D95B#FFFFFF#000000##000000
##E2D95B1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24D
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#F1CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d95b;
/* rgb */ color: rgb(226, 217, 91);
/* oklch */ color: oklch(86.9% 0.146 105.2);
Tailwind
colors: {
  custom: {
    50: '#eee48e',
    500: '#e2d95b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d95b;
$custom-light: #eee48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d95b",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 56,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86885,
    "c": 0.14624,
    "h": 105.2
  },
  "luminance": 0.6655
}

Semantic roles & 50–950 ramp

primary
#E2D95B
secondary
#3941A8
accent
#20D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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