#E2D86B#E2D86B

#E2D86B is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.131 H 104.0°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E2D86B
RGBrgb(226, 216, 107)
HSLhsl(55, 67%, 65%)
HSVhsv(55, 53%, 89%)
CMYKcmyk(0%, 4.4%, 52.7%, 11.4%)
CIE-LABlab(85.17, -10.59, 54.25)
CIE-LCHlch(85.17, 55.27, 101.04°)
OKLaboklab(86.85% -0.0318 0.1273)
OKLCHoklch(86.85% 0.131 104)
XYZxyz(58.5755, 66.3439, 23.6272)
Luminance0.6634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D86B #6B75E2
analogous
#E29C6B #E2D86B #B0E26B
triadic
#E2D86B #6BE2D8 #D86BE2
tetradic
#E2D86B #6BE29C #6B75E2 #E26BB0
square
#E2D86B #6BE29C #6B75E2 #E26BB0
split-complementary
#E2D86B #6BB0E2 #9C6BE2
monochromatic
#B0A423 #D8CB38 #E2D86B #ECE59E #F6F3D1

Accessibility & contrast

On white

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

On black

14.27
#E2D86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D86B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D86B#FFFFFF#000000##000000
##E2D86B1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D261
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#F1CCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d86b;
/* rgb */ color: rgb(226, 216, 107);
/* oklch */ color: oklch(86.9% 0.131 104.0);
Tailwind
colors: {
  custom: {
    50: '#ede398',
    500: '#e2d86b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d86b;
$custom-light: #ede398;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d86b",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 54.958,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86851,
    "c": 0.13125,
    "h": 104
  },
  "luminance": 0.66342
}

Semantic roles & 50–950 ramp

primary
#E2D86B
secondary
#4049B1
accent
#26CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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