#E7D685#E7D685

#E7D685 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.103 H 97.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E7D685
RGBrgb(231, 214, 133)
HSLhsl(50, 67%, 71%)
HSVhsv(50, 42%, 91%)
CMYKcmyk(0%, 7.4%, 42.4%, 9.4%)
CIE-LABlab(85.39, -5.19, 42.05)
CIE-LCHlch(85.39, 42.37, 97.03°)
OKLaboklab(87.23% -0.014 0.1022)
OKLCHoklch(87.23% 0.103 97.8)
XYZxyz(61.2366, 66.7775, 31.8494)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D685 #8596E7
analogous
#E7A585 #E7D685 #C7E785
triadic
#E7D685 #85E7D6 #D685E7
tetradic
#E7D685 #85E7A5 #8596E7 #E785C7
square
#E7D685 #85E7A5 #8596E7 #E785C7
split-complementary
#E7D685 #85C7E7 #A585E7
monochromatic
#CAAE28 #DDC552 #E7D685 #F1E7B8 #FAF6E5

Accessibility & contrast

On white

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

On black

14.36
#E7D685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D685
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D685#FFFFFF#000000##000000
##E7D6851.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27F
Deuteranopia (green-blind)
#E9D888
Tritanopia (blue-blind)
#F5CBC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d685;
/* rgb */ color: rgb(231, 214, 133);
/* oklch */ color: oklch(87.2% 0.103 97.8);
Tailwind
colors: {
  custom: {
    50: '#f0e2a9',
    500: '#e7d685',
    950: '#000000',
  },
}
SCSS
$custom: #e7d685;
$custom-light: #f0e2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d685",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 133
  },
  "hsl": {
    "h": 49.592,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87229,
    "c": 0.10316,
    "h": 97.8
  },
  "luminance": 0.66776
}

Semantic roles & 50–950 ramp

primary
#E7D685
secondary
#5064C0
accent
#36CF16
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D685

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

Preview Lab → · Contrast checker → · Palette generator →

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