#E7D486#E7D486

#E7D486 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.100 H 96.1°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E7D486
RGBrgb(231, 212, 134)
HSLhsl(48, 67%, 72%)
HSVhsv(48, 42%, 91%)
CMYKcmyk(0%, 8.2%, 42%, 9.4%)
CIE-LABlab(84.89, -4.06, 40.92)
CIE-LCHlch(84.89, 41.12, 95.67°)
OKLaboklab(86.84% -0.0106 0.0997)
OKLCHoklch(86.84% 0.1 96.1)
XYZxyz(60.8030, 65.7992, 32.0473)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D486 #8699E7
analogous
#E7A486 #E7D486 #CAE786
triadic
#E7D486 #86E7D4 #D486E7
tetradic
#E7D486 #86E7A4 #8699E7 #E786CA
square
#E7D486 #86E7A4 #8699E7 #E786CA
split-complementary
#E7D486 #86CAE7 #A486E7
monochromatic
#CAAB28 #DDC253 #E7D486 #F1E6B9 #FAF6E5

Accessibility & contrast

On white

1.48
#E7D486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E7D486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D486
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D486#FFFFFF#000000##000000
##E7D4861.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D080
Deuteranopia (green-blind)
#E8D789
Tritanopia (blue-blind)
#F5C9C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d486;
/* rgb */ color: rgb(231, 212, 134);
/* oklch */ color: oklch(86.8% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#f0e1aa',
    500: '#e7d486',
    950: '#000000',
  },
}
SCSS
$custom: #e7d486;
$custom-light: #f0e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d486",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 134
  },
  "hsl": {
    "h": 48.247,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.10026,
    "h": 96.1
  },
  "luminance": 0.65797
}

Semantic roles & 50–950 ramp

primary
#E7D486
secondary
#5167C0
accent
#3BCF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D486

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

Preview Lab → · Contrast checker → · Palette generator →

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