#E7CC5A#E7CC5A

#E7CC5A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.136 H 96.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E7CC5A
RGBrgb(231, 204, 90)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.7%, 61%, 9.4%)
CIE-LABlab(82.33, -3.70, 58.85)
CIE-LCHlch(82.33, 58.97, 93.60°)
OKLaboklab(84.65% -0.0142 0.1352)
OKLCHoklch(84.65% 0.136 96)
XYZxyz(56.3958, 60.9155, 18.4582)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC5A #5A75E7
analogous
#E7865A #E7CC5A #BBE75A
triadic
#E7CC5A #5AE7CC #CC5AE7
tetradic
#E7CC5A #5AE786 #5A75E7 #E75ABB
square
#E7CC5A #5AE786 #5A75E7 #E75ABB
split-complementary
#E7CC5A #5ABBE7 #865AE7
monochromatic
#AD9119 #DFBB25 #E7CC5A #EFDD8F #F7EDC5

Accessibility & contrast

On white

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

On black

13.18
#E7CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC5A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC5A#FFFFFF#000000##000000
##E7CC5A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84E
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#F8BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc5a;
/* rgb */ color: rgb(231, 204, 90);
/* oklch */ color: oklch(84.6% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e7cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc5a;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc5a",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 48.511,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84648,
    "c": 0.13592,
    "h": 96
  },
  "luminance": 0.60913
}

Semantic roles & 50–950 ramp

primary
#E7CC5A
secondary
#374EAE
accent
#35D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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