#E7CC62#E7CC62

#E7CC62 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.129 H 95.2°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E7CC62
RGBrgb(231, 204, 98)
HSLhsl(48, 73%, 65%)
HSVhsv(48, 58%, 91%)
CMYKcmyk(0%, 11.7%, 57.6%, 9.4%)
CIE-LABlab(82.41, -3.14, 55.33)
CIE-LCHlch(82.41, 55.42, 93.25°)
OKLaboklab(84.73% -0.0117 0.1286)
OKLCHoklch(84.73% 0.129 95.2)
XYZxyz(56.7548, 61.0591, 20.3490)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC62 #627DE7
analogous
#E78A62 #E7CC62 #BFE762
triadic
#E7CC62 #62E7CC #CC62E7
tetradic
#E7CC62 #62E78A #627DE7 #E762BF
square
#E7CC62 #62E78A #627DE7 #E762BF
split-complementary
#E7CC62 #62BFE7 #8A62E7
monochromatic
#B3941B #DFBB2D #E7CC62 #EFDD97 #F7EECC

Accessibility & contrast

On white

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

On black

13.21
#E7CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC62
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC62#FFFFFF#000000##000000
##E7CC621.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc62;
/* rgb */ color: rgb(231, 204, 98);
/* oklch */ color: oklch(84.7% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#f1db92',
    500: '#e7cc62',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc62;
$custom-light: #f1db92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc62",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 47.82,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84734,
    "c": 0.12914,
    "h": 95.2
  },
  "luminance": 0.61056
}

Semantic roles & 50–950 ramp

primary
#E7CC62
secondary
#3A52B4
accent
#38D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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