#E8CC6A#E8CC6A

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

Color values

HEX#E8CC6A
RGBrgb(232, 204, 106)
HSLhsl(47, 73%, 66%)
HSVhsv(47, 54%, 91%)
CMYKcmyk(0%, 12.1%, 54.3%, 9%)
CIE-LABlab(82.59, -2.12, 51.81)
CIE-LCHlch(82.59, 51.86, 92.34°)
OKLaboklab(84.92% -0.0079 0.1219)
OKLCHoklch(84.92% 0.122 93.7)
XYZxyz(57.4753, 61.3848, 22.4539)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC6A #6A86E8
analogous
#E88D6A #E8CC6A #C5E86A
triadic
#E8CC6A #6AE8CC #CC6AE8
tetradic
#E8CC6A #6AE88D #6A86E8 #E86AC5
square
#E8CC6A #6AE88D #6A86E8 #E86AC5
split-complementary
#E8CC6A #6AC5E8 #8D6AE8
monochromatic
#BB981D #E0BA35 #E8CC6A #F0DE9F #F8F0D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CC6A#FFFFFF#000000##000000
##E8CC6A1.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)
#DEC961
Deuteranopia (green-blind)
#E5D16E
Tritanopia (blue-blind)
#F8BFB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc6a;
/* rgb */ color: rgb(232, 204, 106);
/* oklch */ color: oklch(84.9% 0.122 93.7);
Tailwind
colors: {
  custom: {
    50: '#f2db97',
    500: '#e8cc6a',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc6a;
$custom-light: #f2db97;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc6a",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 46.667,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84921,
    "c": 0.12211,
    "h": 93.7
  },
  "luminance": 0.61382
}

Semantic roles & 50–950 ramp

primary
#E8CC6A
secondary
#3C58BA
accent
#3CD510
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E8CC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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