#E5C862#E5C862

#E5C862 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.126 H 93.7°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#E5C862
RGBrgb(229, 200, 98)
HSLhsl(47, 72%, 64%)
HSVhsv(47, 57%, 90%)
CMYKcmyk(0%, 12.7%, 57.2%, 10.2%)
CIE-LABlab(81.21, -1.91, 53.90)
CIE-LCHlch(81.21, 53.94, 92.03°)
OKLaboklab(83.74% -0.008 0.1256)
OKLCHoklch(83.74% 0.126 93.7)
XYZxyz(55.1743, 58.8511, 20.0061)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C862 #627FE5
analogous
#E58762 #E5C862 #C0E562
triadic
#E5C862 #62E5C8 #C862E5
tetradic
#E5C862 #62E587 #627FE5 #E562C0
square
#E5C862 #62E587 #627FE5 #E562C0
split-complementary
#E5C862 #62C0E5 #8762E5
monochromatic
#B08F1D #DCB62D #E5C862 #EEDA97 #F6EDCB

Accessibility & contrast

On white

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

On black

12.77
#E5C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C862
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C862#FFFFFF#000000##000000
##E5C8621.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c862;
/* rgb */ color: rgb(229, 200, 98);
/* oklch */ color: oklch(83.7% 0.126 93.7);
Tailwind
colors: {
  custom: {
    50: '#f0d892',
    500: '#e5c862',
    950: '#000000',
  },
}
SCSS
$custom: #e5c862;
$custom-light: #f0d892;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c862",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 46.718,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83743,
    "c": 0.12585,
    "h": 93.7
  },
  "luminance": 0.58848
}

Semantic roles & 50–950 ramp

primary
#E5C862
secondary
#3B55B1
accent
#3DD412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C862

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

Preview Lab → · Contrast checker → · Palette generator →

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