#E4CC62#E4CC62

#E4CC62 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.129 H 96.7°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E4CC62
RGBrgb(228, 204, 98)
HSLhsl(49, 71%, 64%)
HSVhsv(49, 57%, 89%)
CMYKcmyk(0%, 10.5%, 57%, 10.6%)
CIE-LABlab(82.14, -4.38, 54.95)
CIE-LCHlch(82.14, 55.13, 94.56°)
OKLaboklab(84.46% -0.0151 0.1279)
OKLCHoklch(84.46% 0.129 96.7)
XYZxyz(55.7945, 60.5640, 20.3040)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC62 #627AE4
analogous
#E48B62 #E4CC62 #BBE462
triadic
#E4CC62 #62E4CC #CC62E4
tetradic
#E4CC62 #62E48B #627AE4 #E462BB
square
#E4CC62 #62E48B #627AE4 #E462BB
split-complementary
#E4CC62 #62BBE4 #8B62E4
monochromatic
#AE931E #DBBB2E #E4CC62 #EDDD96 #F6EECA

Accessibility & contrast

On white

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

On black

13.11
#E4CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC62
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC62#FFFFFF#000000##000000
##E4CC621.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc62;
/* rgb */ color: rgb(228, 204, 98);
/* oklch */ color: oklch(84.5% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#efdb92',
    500: '#e4cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc62;
$custom-light: #efdb92;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc62",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 48.923,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8446,
    "c": 0.12876,
    "h": 96.7
  },
  "luminance": 0.60562
}

Semantic roles & 50–950 ramp

primary
#E4CC62
secondary
#3B51AF
accent
#36D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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