#E8CC6C#E8CC6C

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

Color values

HEX#E8CC6C
RGBrgb(232, 204, 108)
HSLhsl(46, 73%, 67%)
HSVhsv(46, 53%, 91%)
CMYKcmyk(0%, 12.1%, 53.4%, 9%)
CIE-LABlab(82.61, -1.96, 50.89)
CIE-LCHlch(82.61, 50.93, 92.21°)
OKLaboklab(84.95% -0.0072 0.12)
OKLCHoklch(84.95% 0.12 93.4)
XYZxyz(57.5805, 61.4269, 23.0080)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC6C #6C88E8
analogous
#E88E6C #E8CC6C #C6E86C
triadic
#E8CC6C #6CE8CC #CC6CE8
tetradic
#E8CC6C #6CE88E #6C88E8 #E86CC6
square
#E8CC6C #6CE88E #6C88E8 #E86CC6
split-complementary
#E8CC6C #6CC6E8 #8E6CE8
monochromatic
#BC981D #E0BA37 #E8CC6C #F0DEA1 #F9F1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CC6C#FFFFFF#000000##000000
##E8CC6C1.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)
#DEC963
Deuteranopia (green-blind)
#E5D170
Tritanopia (blue-blind)
#F8BFB6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cc6c;
/* rgb */ color: rgb(232, 204, 108);
/* oklch */ color: oklch(84.9% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#f2db98',
    500: '#e8cc6c',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc6c;
$custom-light: #f2db98;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc6c",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 108
  },
  "hsl": {
    "h": 46.452,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84946,
    "c": 0.12024,
    "h": 93.4
  },
  "luminance": 0.61424
}

Semantic roles & 50–950 ramp

primary
#E8CC6C
secondary
#3D59BB
accent
#3DD510
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E8CC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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