#E2D181#E2D181

#E2D181 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.102 H 97.7°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#E2D181
RGBrgb(226, 209, 129)
HSLhsl(49, 63%, 70%)
HSVhsv(49, 43%, 89%)
CMYKcmyk(0%, 7.5%, 42.9%, 11.4%)
CIE-LABlab(83.63, -5.03, 41.73)
CIE-LCHlch(83.63, 42.03, 96.87°)
OKLaboklab(85.72% -0.0136 0.1013)
OKLCHoklch(85.72% 0.102 97.7)
XYZxyz(58.1283, 63.3566, 29.9317)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D181 #8192E2
analogous
#E2A181 #E2D181 #C2E281
triadic
#E2D181 #81E2D1 #D181E2
tetradic
#E2D181 #81E2A1 #8192E2 #E281C2
square
#E2D181 #81E2A1 #8192E2 #E281C2
split-complementary
#E2D181 #81C2E2 #A181E2
monochromatic
#BDA42C #D7BF4F #E2D181 #EDE3B3 #F9F5E4

Accessibility & contrast

On white

1.54
#E2D181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#E2D181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D181
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D181#FFFFFF#000000##000000
##E2D1811.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#EFC6BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d181;
/* rgb */ color: rgb(226, 209, 129);
/* oklch */ color: oklch(85.7% 0.102 97.7);
Tailwind
colors: {
  custom: {
    50: '#eddea7',
    500: '#e2d181',
    950: '#000000',
  },
}
SCSS
$custom: #e2d181;
$custom-light: #eddea7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d181",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 129
  },
  "hsl": {
    "h": 49.485,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85716,
    "c": 0.10223,
    "h": 97.7
  },
  "luminance": 0.63355
}

Semantic roles & 50–950 ramp

primary
#E2D181
secondary
#4E60BA
accent
#3ACA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2D181

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

Preview Lab → · Contrast checker → · Palette generator →

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