#E5CC62#E5CC62

#E5CC62 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.6% C 0.129 H 96.2°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#E5CC62
RGBrgb(229, 204, 98)
HSLhsl(49, 72%, 64%)
HSVhsv(49, 57%, 90%)
CMYKcmyk(0%, 10.9%, 57.2%, 10.2%)
CIE-LABlab(82.23, -3.97, 55.08)
CIE-LCHlch(82.23, 55.22, 94.12°)
OKLaboklab(84.55% -0.014 0.1281)
OKLCHoklch(84.55% 0.129 96.2)
XYZxyz(56.1128, 60.7281, 20.3189)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC62 #627BE5
analogous
#E58B62 #E5CC62 #BCE562
triadic
#E5CC62 #62E5CC #CC62E5
tetradic
#E5CC62 #62E58B #627BE5 #E562BC
square
#E5CC62 #62E58B #627BE5 #E562BC
split-complementary
#E5CC62 #62BCE5 #8B62E5
monochromatic
#B0941D #DCBB2D #E5CC62 #EEDD97 #F6EECB

Accessibility & contrast

On white

1.60
#E5CC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#E5CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC62
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC62#FFFFFF#000000##000000
##E5CC621.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#F5BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc62;
/* rgb */ color: rgb(229, 204, 98);
/* oklch */ color: oklch(84.6% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#f0db92',
    500: '#e5cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc62;
$custom-light: #f0db92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc62",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 48.55,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84551,
    "c": 0.12887,
    "h": 96.2
  },
  "luminance": 0.60726
}

Semantic roles & 50–950 ramp

primary
#E5CC62
secondary
#3B51B1
accent
#37D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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