#E2D481#E2D481

#E2D481 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.105 H 99.9°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E2D481
RGBrgb(226, 212, 129)
HSLhsl(51, 63%, 70%)
HSVhsv(51, 43%, 89%)
CMYKcmyk(0%, 6.2%, 42.9%, 11.4%)
CIE-LABlab(84.40, -6.56, 42.71)
CIE-LCHlch(84.40, 43.21, 98.73°)
OKLaboklab(86.33% -0.018 0.1035)
OKLCHoklch(86.33% 0.105 99.9)
XYZxyz(58.8713, 64.8425, 30.1794)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D481 #818FE2
analogous
#E2A481 #E2D481 #C0E281
triadic
#E2D481 #81E2D4 #D481E2
tetradic
#E2D481 #81E2A4 #818FE2 #E281C0
square
#E2D481 #81E2A4 #818FE2 #E281C0
split-complementary
#E2D481 #81C0E2 #A481E2
monochromatic
#BDA82C #D7C34F #E2D481 #EDE5B3 #F9F6E4

Accessibility & contrast

On white

1.50
#E2D481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E2D481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D481
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D481#FFFFFF#000000##000000
##E2D4811.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7A
Deuteranopia (green-blind)
#E7D584
Tritanopia (blue-blind)
#EFC9C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d481;
/* rgb */ color: rgb(226, 212, 129);
/* oklch */ color: oklch(86.3% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#ede1a7',
    500: '#e2d481',
    950: '#000000',
  },
}
SCSS
$custom: #e2d481;
$custom-light: #ede1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d481",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 51.34,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86328,
    "c": 0.10508,
    "h": 99.9
  },
  "luminance": 0.64841
}

Semantic roles & 50–950 ramp

primary
#E2D481
secondary
#4E5DBA
accent
#34CA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2D481

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

Preview Lab → · Contrast checker → · Palette generator →

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