#E7D899#E7D899

#E7D899 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.083 H 96.4°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#E7D899
RGBrgb(231, 216, 153)
HSLhsl(48, 62%, 75%)
HSVhsv(48, 34%, 91%)
CMYKcmyk(0%, 6.5%, 33.8%, 9.4%)
CIE-LABlab(86.21, -4.00, 32.98)
CIE-LCHlch(86.21, 33.22, 96.91°)
OKLaboklab(87.97% -0.0091 0.0821)
OKLCHoklch(87.97% 0.083 96.4)
XYZxyz(63.2615, 68.4023, 40.0013)
Luminance0.6840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D899 #99A8E7
analogous
#E7B199 #E7D899 #CFE799
triadic
#E7D899 #99E7D8 #D899E7
tetradic
#E7D899 #99E7B1 #99A8E7 #E799CF
square
#E7D899 #99E7B1 #99A8E7 #E799CF
split-complementary
#E7D899 #99CFE7 #B199E7
monochromatic
#D0B236 #DBC567 #E7D899 #F3EBCB #F9F6E6

Accessibility & contrast

On white

1.43
#E7D899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#E7D899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D899
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D899#FFFFFF#000000##000000
##E7D8991.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D595
Deuteranopia (green-blind)
#E9DA9B
Tritanopia (blue-blind)
#F3CFC8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7d899;
/* rgb */ color: rgb(231, 216, 153);
/* oklch */ color: oklch(88.0% 0.083 96.4);
Tailwind
colors: {
  custom: {
    50: '#efe3b7',
    500: '#e7d899',
    950: '#000000',
  },
}
SCSS
$custom: #e7d899;
$custom-light: #efe3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d899",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 48.462,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.87973,
    "c": 0.08258,
    "h": 96.4
  },
  "luminance": 0.68401
}

Semantic roles & 50–950 ramp

primary
#E7D899
secondary
#6375C1
accent
#3DCA1C
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #E7D899

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

Preview Lab → · Contrast checker → · Palette generator →

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