#E2D85A#E2D85A

#E2D85A is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.146 H 104.8°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E2D85A
RGBrgb(226, 216, 90)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 4.4%, 60.2%, 11.4%)
CIE-LABlab(85.01, -11.84, 61.66)
CIE-LCHlch(85.01, 62.79, 100.87°)
OKLaboklab(86.67% -0.0372 0.1413)
OKLCHoklch(86.67% 0.146 104.8)
XYZxyz(57.7674, 66.0207, 19.3712)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D85A #5A64E2
analogous
#E2945A #E2D85A #A8E25A
triadic
#E2D85A #5AE2D8 #D85AE2
tetradic
#E2D85A #5AE294 #5A64E2 #E25AA8
square
#E2D85A #5AE294 #5A64E2 #E25AA8
split-complementary
#E2D85A #5AA8E2 #945AE2
monochromatic
#A59B1D #D9CC26 #E2D85A #EBE48E #F4F1C2

Accessibility & contrast

On white

1.48
#E2D85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E2D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D85A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D85A#FFFFFF#000000##000000
##E2D85A1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14C
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d85a;
/* rgb */ color: rgb(226, 216, 90);
/* oklch */ color: oklch(86.7% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#eee38d',
    500: '#e2d85a',
    950: '#000000',
  },
}
SCSS
$custom: #e2d85a;
$custom-light: #eee38d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d85a",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 55.588,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86667,
    "c": 0.1461,
    "h": 104.8
  },
  "luminance": 0.66019
}

Semantic roles & 50–950 ramp

primary
#E2D85A
secondary
#3941A7
accent
#21D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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