#E7CC6C#E7CC6C

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

Color values

HEX#E7CC6C
RGBrgb(231, 204, 108)
HSLhsl(47, 72%, 66%)
HSVhsv(47, 53%, 91%)
CMYKcmyk(0%, 11.7%, 53.2%, 9.4%)
CIE-LABlab(82.52, -2.37, 50.76)
CIE-LCHlch(82.52, 50.82, 92.67°)
OKLaboklab(84.85% -0.0083 0.1198)
OKLCHoklch(84.85% 0.12 94)
XYZxyz(57.2568, 61.2599, 22.9929)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC6C #6C87E7
analogous
#E78F6C #E7CC6C #C5E76C
triadic
#E7CC6C #6CE7CC #CC6CE7
tetradic
#E7CC6C #6CE78F #6C87E7 #E76CC5
square
#E7CC6C #6CE78F #6C87E7 #E76CC5
split-complementary
#E7CC6C #6CC5E7 #8F6CE7
monochromatic
#BA981E #DEBA37 #E7CC6C #F0DEA1 #F8F1D5

Accessibility & contrast

On white

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

On black

13.25
#E7CC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC6C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC6C#FFFFFF#000000##000000
##E7CC6C1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc6c;
/* rgb */ color: rgb(231, 204, 108);
/* oklch */ color: oklch(84.9% 0.120 94.0);
Tailwind
colors: {
  custom: {
    50: '#f1db98',
    500: '#e7cc6c',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc6c;
$custom-light: #f1db98;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc6c",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 108
  },
  "hsl": {
    "h": 46.829,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84854,
    "c": 0.12005,
    "h": 94
  },
  "luminance": 0.61257
}

Semantic roles & 50–950 ramp

primary
#E7CC6C
secondary
#3D59BA
accent
#3CD412
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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