#E2D985#E2D985

#E2D985 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.106 H 103.0°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E2D985
RGBrgb(226, 217, 133)
HSLhsl(54, 62%, 70%)
HSVhsv(54, 41%, 89%)
CMYKcmyk(0%, 4%, 41.2%, 11.4%)
CIE-LABlab(85.75, -8.68, 42.42)
CIE-LCHlch(85.75, 43.30, 101.57°)
OKLaboklab(87.41% -0.0238 0.1031)
OKLCHoklch(87.41% 0.106 103)
XYZxyz(60.4117, 67.4896, 32.0302)
Luminance0.6749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D985 #858EE2
analogous
#E2AB85 #E2D985 #BCE285
triadic
#E2D985 #85E2D9 #D985E2
tetradic
#E2D985 #85E2AB #858EE2 #E285BC
square
#E2D985 #85E2AB #858EE2 #E285BC
split-complementary
#E2D985 #85BCE2 #AB85E2
monochromatic
#BFB12D #D6CA54 #E2D985 #EEE8B6 #F9F7E6

Accessibility & contrast

On white

1.45
#E2D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#E2D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D985
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D985#FFFFFF#000000##000000
##E2D9851.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D47E
Deuteranopia (green-blind)
#EAD988
Tritanopia (blue-blind)
#EFCFC4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2d985;
/* rgb */ color: rgb(226, 217, 133);
/* oklch */ color: oklch(87.4% 0.106 103.0);
Tailwind
colors: {
  custom: {
    50: '#ece4aa',
    500: '#e2d985',
    950: '#000000',
  },
}
SCSS
$custom: #e2d985;
$custom-light: #ece4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d985",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 54.194,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87414,
    "c": 0.10581,
    "h": 103
  },
  "luminance": 0.67488
}

Semantic roles & 50–950 ramp

primary
#E2D985
secondary
#515BBA
accent
#2DC91C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D985

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

Preview Lab → · Contrast checker → · Palette generator →

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