#E8CC62#E8CC62

#E8CC62 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.129 H 94.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E8CC62
RGBrgb(232, 204, 98)
HSLhsl(47, 74%, 65%)
HSVhsv(47, 58%, 91%)
CMYKcmyk(0%, 12.1%, 57.8%, 9%)
CIE-LABlab(82.50, -2.73, 55.45)
CIE-LCHlch(82.50, 55.52, 92.82°)
OKLaboklab(84.83% -0.0106 0.1289)
OKLCHoklch(84.83% 0.129 94.7)
XYZxyz(57.0785, 61.2261, 20.3642)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC62 #627EE8
analogous
#E88962 #E8CC62 #C1E862
triadic
#E8CC62 #62E8CC #CC62E8
tetradic
#E8CC62 #62E889 #627EE8 #E862C1
square
#E8CC62 #62E889 #627EE8 #E862C1
split-complementary
#E8CC62 #62C1E8 #8962E8
monochromatic
#B5951B #E0BB2D #E8CC62 #F0DD97 #F8EFCD

Accessibility & contrast

On white

1.59
#E8CC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#E8CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC62
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC62#FFFFFF#000000##000000
##E8CC621.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cc62;
/* rgb */ color: rgb(232, 204, 98);
/* oklch */ color: oklch(84.8% 0.129 94.7);
Tailwind
colors: {
  custom: {
    50: '#f2db92',
    500: '#e8cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc62;
$custom-light: #f2db92;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc62",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 47.463,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84826,
    "c": 0.12929,
    "h": 94.7
  },
  "luminance": 0.61223
}

Semantic roles & 50–950 ramp

primary
#E8CC62
secondary
#3953B5
accent
#39D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E8CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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