#E0D97C#E0D97C

#E0D97C is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.115 H 104.8°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E0D97C
RGBrgb(224, 217, 124)
HSLhsl(56, 62%, 68%)
HSVhsv(56, 45%, 88%)
CMYKcmyk(0%, 3.1%, 44.6%, 12.2%)
CIE-LABlab(85.47, -10.38, 46.47)
CIE-LCHlch(85.47, 47.61, 102.59°)
OKLaboklab(87.11% -0.0294 0.1117)
OKLCHoklch(87.11% 0.115 104.8)
XYZxyz(59.1927, 66.9299, 28.8655)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D97C #7C83E0
analogous
#E0A77C #E0D97C #B5E07C
triadic
#E0D97C #7CE0D9 #D97CE0
tetradic
#E0D97C #7CE0A7 #7C83E0 #E07CB5
square
#E0D97C #7CE0A7 #7C83E0 #E07CB5
split-complementary
#E0D97C #7CB5E0 #A77CE0
monochromatic
#B6AD2B #D4CB4B #E0D97C #ECE7AD #F7F6DF

Accessibility & contrast

On white

1.46
#E0D97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E0D97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D97C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D97C#FFFFFF#000000##000000
##E0D97C1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D374
Deuteranopia (green-blind)
#EAD880
Tritanopia (blue-blind)
#EDCEC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e0d97c;
/* rgb */ color: rgb(224, 217, 124);
/* oklch */ color: oklch(87.1% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#ebe4a3',
    500: '#e0d97c',
    950: '#000000',
  },
}
SCSS
$custom: #e0d97c;
$custom-light: #ebe4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d97c",
  "rgb": {
    "r": 224,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 55.8,
    "s": 61.728,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87112,
    "c": 0.11547,
    "h": 104.8
  },
  "luminance": 0.66928
}

Semantic roles & 50–950 ramp

primary
#E0D97C
secondary
#4951B7
accent
#28C91C
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E0D97C

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

Preview Lab → · Contrast checker → · Palette generator →

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