#E7DA8D#E7DA8D

#E7DA8D is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.098 H 99.8°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E7DA8D
RGBrgb(231, 218, 141)
HSLhsl(51, 65%, 73%)
HSVhsv(51, 39%, 91%)
CMYKcmyk(0%, 5.6%, 39%, 9.4%)
CIE-LABlab(86.53, -6.38, 39.50)
CIE-LCHlch(86.53, 40.01, 99.17°)
OKLaboklab(88.17% -0.0168 0.0968)
OKLCHoklch(88.17% 0.098 99.8)
XYZxyz(62.8353, 69.0566, 35.2134)
Luminance0.6905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DA8D #8D9AE7
analogous
#E7AD8D #E7DA8D #C7E78D
triadic
#E7DA8D #8DE7DA #DA8DE7
tetradic
#E7DA8D #8DE7AD #8D9AE7 #E78DC7
square
#E7DA8D #8DE7AD #8D9AE7 #E78DC7
split-complementary
#E7DA8D #8DC7E7 #AD8DE7
monochromatic
#CEB72B #DCCA5A #E7DA8D #F2EAC0 #FAF7E6

Accessibility & contrast

On white

1.42
#E7DA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#E7DA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DA8D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DA8D#FFFFFF#000000##000000
##E7DA8D1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D687
Deuteranopia (green-blind)
#ECDB90
Tritanopia (blue-blind)
#F4D0C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7da8d;
/* rgb */ color: rgb(231, 218, 141);
/* oklch */ color: oklch(88.2% 0.098 99.8);
Tailwind
colors: {
  custom: {
    50: '#f0e5af',
    500: '#e7da8d',
    950: '#000000',
  },
}
SCSS
$custom: #e7da8d;
$custom-light: #f0e5af;
$custom-dark: #000000;
JSON
{
  "hex": "#e7da8d",
  "rgb": {
    "r": 231,
    "g": 218,
    "b": 141
  },
  "hsl": {
    "h": 51.333,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88169,
    "c": 0.09823,
    "h": 99.8
  },
  "luminance": 0.69055
}

Semantic roles & 50–950 ramp

primary
#E7DA8D
secondary
#5867C1
accent
#33CD18
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7DA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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