#E7C862#E7C862

#E7C862 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.9% C 0.126 H 92.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#E7C862
RGBrgb(231, 200, 98)
HSLhsl(46, 73%, 65%)
HSVhsv(46, 58%, 91%)
CMYKcmyk(0%, 13.4%, 57.6%, 9.4%)
CIE-LABlab(81.39, -1.08, 54.16)
CIE-LCHlch(81.39, 54.17, 91.15°)
OKLaboklab(83.93% -0.0058 0.1261)
OKLCHoklch(83.93% 0.126 92.6)
XYZxyz(55.8162, 59.1821, 20.0362)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C862 #6281E7
analogous
#E78662 #E7C862 #C4E762
triadic
#E7C862 #62E7C8 #C862E7
tetradic
#E7C862 #62E786 #6281E7 #E762C4
square
#E7C862 #62E786 #6281E7 #E762C4
split-complementary
#E7C862 #62C4E7 #8662E7
monochromatic
#B3901B #DFB52D #E7C862 #EFDB97 #F7EDCC

Accessibility & contrast

On white

1.64
#E7C862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#E7C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C862
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C862#FFFFFF#000000##000000
##E7C8621.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#E2CE66
Tritanopia (blue-blind)
#F8BAB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c862;
/* rgb */ color: rgb(231, 200, 98);
/* oklch */ color: oklch(83.9% 0.126 92.6);
Tailwind
colors: {
  custom: {
    50: '#f1d892',
    500: '#e7c862',
    950: '#000000',
  },
}
SCSS
$custom: #e7c862;
$custom-light: #f1d892;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c862",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 46.015,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83929,
    "c": 0.12623,
    "h": 92.6
  },
  "luminance": 0.59179
}

Semantic roles & 50–950 ramp

primary
#E7C862
secondary
#3A56B4
accent
#3ED610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C862

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

Preview Lab → · Contrast checker → · Palette generator →

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