#E7D18C#E7D18C

#E7D18C is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.091 H 92.4°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#E7D18C
RGBrgb(231, 209, 140)
HSLhsl(45, 65%, 73%)
HSVhsv(45, 39%, 91%)
CMYKcmyk(0%, 9.5%, 39.4%, 9.4%)
CIE-LABlab(84.22, -1.89, 37.01)
CIE-LCHlch(84.22, 37.06, 92.92°)
OKLaboklab(86.34% -0.0039 0.091)
OKLCHoklch(86.34% 0.091 92.4)
XYZxyz(60.4904, 64.4854, 34.0664)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D18C #8CA2E7
analogous
#E7A48C #E7D18C #CFE78C
triadic
#E7D18C #8CE7D1 #D18CE7
tetradic
#E7D18C #8CE7A4 #8CA2E7 #E78CCF
square
#E7D18C #8CE7A4 #8CA2E7 #E78CCF
split-complementary
#E7D18C #8CCFE7 #A48CE7
monochromatic
#CEA62B #DCBD59 #E7D18C #F2E5BF #FAF5E6

Accessibility & contrast

On white

1.51
#E7D18C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#E7D18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D18C
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D18C#FFFFFF#000000##000000
##E7D18C1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE87
Deuteranopia (green-blind)
#E5D58E
Tritanopia (blue-blind)
#F4C7C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d18c;
/* rgb */ color: rgb(231, 209, 140);
/* oklch */ color: oklch(86.3% 0.091 92.4);
Tailwind
colors: {
  custom: {
    50: '#f0deae',
    500: '#e7d18c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d18c;
$custom-light: #f0deae;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d18c",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 140
  },
  "hsl": {
    "h": 45.495,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86335,
    "c": 0.0911,
    "h": 92.4
  },
  "luminance": 0.64483
}

Semantic roles & 50–950 ramp

primary
#E7D18C
secondary
#5770C0
accent
#44CD18
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D18C

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

Preview Lab → · Contrast checker → · Palette generator →

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