#E5C562#E5C562

#E5C562 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.124 H 91.6°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#E5C562
RGBrgb(229, 197, 98)
HSLhsl(45, 72%, 64%)
HSVhsv(45, 57%, 90%)
CMYKcmyk(0%, 14%, 57.2%, 10.2%)
CIE-LABlab(80.45, -0.36, 53.02)
CIE-LCHlch(80.45, 53.02, 90.39°)
OKLaboklab(83.14% -0.0035 0.1237)
OKLCHoklch(83.14% 0.124 91.6)
XYZxyz(54.4863, 57.4751, 19.7768)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C562 #6282E5
analogous
#E58462 #E5C562 #C3E562
triadic
#E5C562 #62E5C5 #C562E5
tetradic
#E5C562 #62E584 #6282E5 #E562C3
square
#E5C562 #62E584 #6282E5 #E562C3
split-complementary
#E5C562 #62C3E5 #8462E5
monochromatic
#B08C1D #DCB22D #E5C562 #EED897 #F6ECCB

Accessibility & contrast

On white

1.68
#E5C562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#E5C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C562
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C562#FFFFFF#000000##000000
##E5C5621.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DFCC66
Tritanopia (blue-blind)
#F6B7AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e5c562;
/* rgb */ color: rgb(229, 197, 98);
/* oklch */ color: oklch(83.1% 0.124 91.6);
Tailwind
colors: {
  custom: {
    50: '#f0d691',
    500: '#e5c562',
    950: '#000000',
  },
}
SCSS
$custom: #e5c562;
$custom-light: #f0d691;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c562",
  "rgb": {
    "r": 229,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 45.344,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8314,
    "c": 0.12374,
    "h": 91.6
  },
  "luminance": 0.57472
}

Semantic roles & 50–950 ramp

primary
#E5C562
secondary
#3B57B1
accent
#41D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C562

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

Preview Lab → · Contrast checker → · Palette generator →

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