#E6CC62#E6CC62

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

Color values

HEX#E6CC62
RGBrgb(230, 204, 98)
HSLhsl(48, 73%, 64%)
HSVhsv(48, 57%, 90%)
CMYKcmyk(0%, 11.3%, 57.4%, 9.8%)
CIE-LABlab(82.32, -3.55, 55.20)
CIE-LCHlch(82.32, 55.32, 93.68°)
OKLaboklab(84.64% -0.0128 0.1284)
OKLCHoklch(84.64% 0.129 95.7)
XYZxyz(56.4329, 60.8931, 20.3339)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC62 #627CE6
analogous
#E68A62 #E6CC62 #BEE662
triadic
#E6CC62 #62E6CC #CC62E6
tetradic
#E6CC62 #62E68A #627CE6 #E662BE
square
#E6CC62 #62E68A #627CE6 #E662BE
split-complementary
#E6CC62 #62BEE6 #8A62E6
monochromatic
#B1941C #DEBB2D #E6CC62 #EEDD97 #F7EECC

Accessibility & contrast

On white

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

On black

13.18
#E6CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC62
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC62#FFFFFF#000000##000000
##E6CC621.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6cc62;
/* rgb */ color: rgb(230, 204, 98);
/* oklch */ color: oklch(84.6% 0.129 95.7);
Tailwind
colors: {
  custom: {
    50: '#f1db92',
    500: '#e6cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc62;
$custom-light: #f1db92;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc62",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 48.182,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84642,
    "c": 0.129,
    "h": 95.7
  },
  "luminance": 0.60891
}

Semantic roles & 50–950 ramp

primary
#E6CC62
secondary
#3A52B2
accent
#37D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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