#E7E786#E7E786

#E7E786 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 90.7% C 0.120 H 108.6°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#E7E786
RGBrgb(231, 231, 134)
HSLhsl(60, 67%, 72%)
HSVhsv(60, 42%, 91%)
CMYKcmyk(0%, 0%, 42%, 9.4%)
CIE-LABlab(89.80, -13.62, 47.09)
CIE-LCHlch(89.80, 49.02, 106.13°)
OKLaboklab(90.73% -0.0382 0.1136)
OKLCHoklch(90.73% 0.12 108.6)
XYZxyz(65.8351, 75.8634, 33.7247)
Luminance0.7586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E786 #8686E7
analogous
#E7B786 #E7E786 #B7E786
triadic
#E7E786 #86E7E7 #E786E7
tetradic
#E7E786 #86E7B7 #8686E7 #E786B7
square
#E7E786 #86E7B7 #8686E7 #E786B7
split-complementary
#E7E786 #86B7E7 #B786E7
monochromatic
#CACA28 #DDDD53 #E7E786 #F1F1B9 #FAFAE5

Accessibility & contrast

On white

1.30
#E7E786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#E7E786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E786
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E786#FFFFFF#000000##000000
##E7E7861.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E07E
Deuteranopia (green-blind)
#F7E48A
Tritanopia (blue-blind)
#F3DCD0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e786;
/* rgb */ color: rgb(231, 231, 134);
/* oklch */ color: oklch(90.7% 0.120 108.6);
Tailwind
colors: {
  custom: {
    50: '#f0eeab',
    500: '#e7e786',
    950: '#000000',
  },
}
SCSS
$custom: #e7e786;
$custom-light: #f0eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e786",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90728,
    "c": 0.11986,
    "h": 108.6
  },
  "luminance": 0.75862
}

Semantic roles & 50–950 ramp

primary
#E7E786
secondary
#5151C0
accent
#17CF17
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #E7E786

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

Preview Lab → · Contrast checker → · Palette generator →

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