#E9CC62#E9CC62

#E9CC62 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.129 H 94.2°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E9CC62
RGBrgb(233, 204, 98)
HSLhsl(47, 75%, 65%)
HSVhsv(47, 58%, 91%)
CMYKcmyk(0%, 12.4%, 57.9%, 8.6%)
CIE-LABlab(82.59, -2.32, 55.58)
CIE-LCHlch(82.59, 55.63, 92.39°)
OKLaboklab(84.92% -0.0094 0.1291)
OKLCHoklch(84.92% 0.129 94.2)
XYZxyz(57.4041, 61.3940, 20.3795)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC62 #627FE9
analogous
#E98862 #E9CC62 #C3E962
triadic
#E9CC62 #62E9CC #CC62E9
tetradic
#E9CC62 #62E988 #627FE9 #E962C3
square
#E9CC62 #62E988 #627FE9 #E962C3
split-complementary
#E9CC62 #62C3E9 #8862E9
monochromatic
#B7951A #E1BB2C #E9CC62 #F1DD98 #F8EFCD

Accessibility & contrast

On white

1.58
#E9CC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#E9CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC62
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC62#FFFFFF#000000##000000
##E9CC621.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC857
Deuteranopia (green-blind)
#E6D167
Tritanopia (blue-blind)
#FABEB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e9cc62;
/* rgb */ color: rgb(233, 204, 98);
/* oklch */ color: oklch(84.9% 0.129 94.2);
Tailwind
colors: {
  custom: {
    50: '#f3db92',
    500: '#e9cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc62;
$custom-light: #f3db92;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc62",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 47.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84918,
    "c": 0.12945,
    "h": 94.2
  },
  "luminance": 0.61391
}

Semantic roles & 50–950 ramp

primary
#E9CC62
secondary
#3854B7
accent
#39D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E9CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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