#E2CD81#E2CD81

#E2CD81 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.099 H 94.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E2CD81
RGBrgb(226, 205, 129)
HSLhsl(47, 63%, 70%)
HSVhsv(47, 43%, 89%)
CMYKcmyk(0%, 9.3%, 42.9%, 11.4%)
CIE-LABlab(82.60, -2.97, 40.43)
CIE-LCHlch(82.60, 40.54, 94.21°)
OKLaboklab(84.9% -0.0077 0.0984)
OKLCHoklch(84.9% 0.099 94.5)
XYZxyz(57.1593, 61.4185, 29.6087)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD81 #8196E2
analogous
#E29C81 #E2CD81 #C7E281
triadic
#E2CD81 #81E2CD #CD81E2
tetradic
#E2CD81 #81E29C #8196E2 #E281C7
square
#E2CD81 #81E29C #8196E2 #E281C7
split-complementary
#E2CD81 #81C7E2 #9C81E2
monochromatic
#BD9E2C #D7B94F #E2CD81 #EDE1B3 #F9F4E4

Accessibility & contrast

On white

1.58
#E2CD81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#E2CD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD81
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD81#FFFFFF#000000##000000
##E2CD811.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA7B
Deuteranopia (green-blind)
#E1D084
Tritanopia (blue-blind)
#F0C2BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cd81;
/* rgb */ color: rgb(226, 205, 129);
/* oklch */ color: oklch(84.9% 0.099 94.5);
Tailwind
colors: {
  custom: {
    50: '#eddca6',
    500: '#e2cd81',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd81;
$custom-light: #eddca6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd81",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 47.01,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84904,
    "c": 0.09867,
    "h": 94.5
  },
  "luminance": 0.61416
}

Semantic roles & 50–950 ramp

primary
#E2CD81
secondary
#4E65BA
accent
#41CA1B
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2CD81

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

Preview Lab → · Contrast checker → · Palette generator →

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