#E7CC7A#E7CC7A

#E7CC7A is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.106 H 91.8°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E7CC7A
RGBrgb(231, 204, 122)
HSLhsl(45, 69%, 69%)
HSVhsv(45, 47%, 91%)
CMYKcmyk(0%, 11.7%, 47.2%, 9.4%)
CIE-LABlab(82.69, -1.14, 44.14)
CIE-LCHlch(82.69, 44.15, 91.48°)
OKLaboklab(85.05% -0.0033 0.1063)
OKLCHoklch(85.05% 0.106 91.8)
XYZxyz(58.0626, 61.5822, 27.2367)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC7A #7A95E7
analogous
#E7967A #E7CC7A #CBE77A
triadic
#E7CC7A #7AE7CC #CC7AE7
tetradic
#E7CC7A #7AE796 #7A95E7 #E77ACB
square
#E7CC7A #7AE796 #7A95E7 #E77ACB
split-complementary
#E7CC7A #7ACBE7 #967AE7
monochromatic
#C39C23 #DEB846 #E7CC7A #F0E0AE #FAF4E2

Accessibility & contrast

On white

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

On black

13.32
#E7CC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC7A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC7A#FFFFFF#000000##000000
##E7CC7A1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#F6C0B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cc7a;
/* rgb */ color: rgb(231, 204, 122);
/* oklch */ color: oklch(85.0% 0.106 91.8);
Tailwind
colors: {
  custom: {
    50: '#f0dba2',
    500: '#e7cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc7a;
$custom-light: #f0dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc7a",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 45.138,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85046,
    "c": 0.1063,
    "h": 91.8
  },
  "luminance": 0.6158
}

Semantic roles & 50–950 ramp

primary
#E7CC7A
secondary
#4664BF
accent
#43D114
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E7CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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