#E7CC6A#E7CC6A

#E7CC6A is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.122 H 94.2°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E7CC6A
RGBrgb(231, 204, 106)
HSLhsl(47, 72%, 66%)
HSVhsv(47, 54%, 91%)
CMYKcmyk(0%, 11.7%, 54.1%, 9.4%)
CIE-LABlab(82.50, -2.53, 51.69)
CIE-LCHlch(82.50, 51.75, 92.80°)
OKLaboklab(84.83% -0.009 0.1216)
OKLCHoklch(84.83% 0.122 94.2)
XYZxyz(57.1515, 61.2178, 22.4387)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC6A #6A85E7
analogous
#E78D6A #E7CC6A #C3E76A
triadic
#E7CC6A #6AE7CC #CC6AE7
tetradic
#E7CC6A #6AE78D #6A85E7 #E76AC3
square
#E7CC6A #6AE78D #6A85E7 #E76AC3
split-complementary
#E7CC6A #6AC3E7 #8D6AE7
monochromatic
#B9971E #DFBA35 #E7CC6A #EFDE9F #F8F0D3

Accessibility & contrast

On white

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

On black

13.24
#E7CC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC6A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC6A#FFFFFF#000000##000000
##E7CC6A1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc6a;
/* rgb */ color: rgb(231, 204, 106);
/* oklch */ color: oklch(84.8% 0.122 94.2);
Tailwind
colors: {
  custom: {
    50: '#f1db97',
    500: '#e7cc6a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc6a;
$custom-light: #f1db97;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc6a",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 47.04,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84829,
    "c": 0.12192,
    "h": 94.2
  },
  "luminance": 0.61215
}

Semantic roles & 50–950 ramp

primary
#E7CC6A
secondary
#3D57B9
accent
#3BD411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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