#E6CC6C#E6CC6C

#E6CC6C is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.120 H 94.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E6CC6C
RGBrgb(230, 204, 108)
HSLhsl(47, 71%, 66%)
HSVhsv(47, 53%, 90%)
CMYKcmyk(0%, 11.3%, 53%, 9.8%)
CIE-LABlab(82.43, -2.78, 50.63)
CIE-LCHlch(82.43, 50.71, 93.14°)
OKLaboklab(84.76% -0.0094 0.1195)
OKLCHoklch(84.76% 0.12 94.5)
XYZxyz(56.9348, 61.0939, 22.9778)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC6C #6C86E6
analogous
#E68F6C #E6CC6C #C3E66C
triadic
#E6CC6C #6CE6CC #CC6CE6
tetradic
#E6CC6C #6CE68F #6C86E6 #E66CC3
square
#E6CC6C #6CE68F #6C86E6 #E66CC3
split-complementary
#E6CC6C #6CC3E6 #8F6CE6
monochromatic
#B8981F #DDBA38 #E6CC6C #EFDEA0 #F8F0D5

Accessibility & contrast

On white

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

On black

13.22
#E6CC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC6C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC6C#FFFFFF#000000##000000
##E6CC6C1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC863
Deuteranopia (green-blind)
#E4D170
Tritanopia (blue-blind)
#F6BFB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc6c;
/* rgb */ color: rgb(230, 204, 108);
/* oklch */ color: oklch(84.8% 0.120 94.5);
Tailwind
colors: {
  custom: {
    50: '#f0db98',
    500: '#e6cc6c',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc6c;
$custom-light: #f0db98;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc6c",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 108
  },
  "hsl": {
    "h": 47.213,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84763,
    "c": 0.11987,
    "h": 94.5
  },
  "luminance": 0.61091
}

Semantic roles & 50–950 ramp

primary
#E6CC6C
secondary
#3E58B8
accent
#3CD313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E6CC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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