#E7C865#E7C865

#E7C865 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 84.0% C 0.124 H 92.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#E7C865
RGBrgb(231, 200, 101)
HSLhsl(46, 73%, 65%)
HSVhsv(46, 56%, 91%)
CMYKcmyk(0%, 13.4%, 56.3%, 9.4%)
CIE-LABlab(81.42, -0.86, 52.79)
CIE-LCHlch(81.42, 52.80, 90.93°)
OKLaboklab(83.96% -0.0047 0.1235)
OKLCHoklch(83.96% 0.124 92.2)
XYZxyz(55.9606, 59.2398, 20.7962)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C865 #6584E7
analogous
#E78765 #E7C865 #C5E765
triadic
#E7C865 #65E7C8 #C865E7
tetradic
#E7C865 #65E787 #6584E7 #E765C5
square
#E7C865 #65E787 #6584E7 #E765C5
split-complementary
#E7C865 #65C5E7 #8765E7
monochromatic
#B5911C #DFB530 #E7C865 #EFDB9A #F8EECF

Accessibility & contrast

On white

1.63
#E7C865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#E7C865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C865
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C865#FFFFFF#000000##000000
##E7C8651.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55C
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#F8BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c865;
/* rgb */ color: rgb(231, 200, 101);
/* oklch */ color: oklch(84.0% 0.124 92.2);
Tailwind
colors: {
  custom: {
    50: '#f1d894',
    500: '#e7c865',
    950: '#000000',
  },
}
SCSS
$custom: #e7c865;
$custom-light: #f1d894;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c865",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 101
  },
  "hsl": {
    "h": 45.692,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.12357,
    "h": 92.2
  },
  "luminance": 0.59237
}

Semantic roles & 50–950 ramp

primary
#E7C865
secondary
#3B58B5
accent
#3FD510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C865

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

Preview Lab → · Contrast checker → · Palette generator →

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