#E5C962#E5C962

#E5C962 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.127 H 94.3°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#E5C962
RGBrgb(229, 201, 98)
HSLhsl(47, 72%, 64%)
HSVhsv(47, 57%, 90%)
CMYKcmyk(0%, 12.2%, 57.2%, 10.2%)
CIE-LABlab(81.46, -2.43, 54.20)
CIE-LCHlch(81.46, 54.25, 92.56°)
OKLaboklab(83.94% -0.0095 0.1262)
OKLCHoklch(83.94% 0.127 94.3)
XYZxyz(55.4066, 59.3158, 20.0835)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C962 #627EE5
analogous
#E58862 #E5C962 #BFE562
triadic
#E5C962 #62E5C9 #C962E5
tetradic
#E5C962 #62E588 #627EE5 #E562BF
square
#E5C962 #62E588 #627EE5 #E562BF
split-complementary
#E5C962 #62BFE5 #8862E5
monochromatic
#B0901D #DCB72D #E5C962 #EEDB97 #F6EDCB

Accessibility & contrast

On white

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

On black

12.86
#E5C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C962
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C962#FFFFFF#000000##000000
##E5C9621.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c962;
/* rgb */ color: rgb(229, 201, 98);
/* oklch */ color: oklch(83.9% 0.127 94.3);
Tailwind
colors: {
  custom: {
    50: '#f0d992',
    500: '#e5c962',
    950: '#000000',
  },
}
SCSS
$custom: #e5c962;
$custom-light: #f0d992;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c962",
  "rgb": {
    "r": 229,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 47.176,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83944,
    "c": 0.12658,
    "h": 94.3
  },
  "luminance": 0.59313
}

Semantic roles & 50–950 ramp

primary
#E5C962
secondary
#3B54B1
accent
#3BD412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C962

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

Preview Lab → · Contrast checker → · Palette generator →

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