#E2D95A#E2D95A

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

Color values

HEX#E2D95A
RGBrgb(226, 217, 90)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 4%, 60.2%, 11.4%)
CIE-LABlab(85.27, -12.34, 61.95)
CIE-LCHlch(85.27, 63.17, 101.27°)
OKLaboklab(86.88% -0.0387 0.1419)
OKLCHoklch(86.88% 0.147 105.2)
XYZxyz(58.0243, 66.5346, 19.4569)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D95A #5A63E2
analogous
#E2955A #E2D95A #A7E25A
triadic
#E2D95A #5AE2D9 #D95AE2
tetradic
#E2D95A #5AE295 #5A63E2 #E25AA7
square
#E2D95A #5AE295 #5A63E2 #E25AA7
split-complementary
#E2D95A #5AA7E2 #955AE2
monochromatic
#A59C1D #D9CD26 #E2D95A #EBE58E #F4F1C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D95A#FFFFFF#000000##000000
##E2D95A1.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)
#EAD24B
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#F1CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d95a;
/* rgb */ color: rgb(226, 217, 90);
/* oklch */ color: oklch(86.9% 0.147 105.2);
Tailwind
colors: {
  custom: {
    50: '#eee48e',
    500: '#e2d95a',
    950: '#000000',
  },
}
SCSS
$custom: #e2d95a;
$custom-light: #eee48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d95a",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 56.029,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86875,
    "c": 0.14705,
    "h": 105.2
  },
  "luminance": 0.66533
}

Semantic roles & 50–950 ramp

primary
#E2D95A
secondary
#3940A7
accent
#20D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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