#E7CC5B#E7CC5B

#E7CC5B is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.135 H 95.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#E7CC5B
RGBrgb(231, 204, 91)
HSLhsl(48, 74%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 11.7%, 60.6%, 9.4%)
CIE-LABlab(82.34, -3.63, 58.42)
CIE-LCHlch(82.34, 58.53, 93.56°)
OKLaboklab(84.66% -0.0139 0.1344)
OKLCHoklch(84.66% 0.135 95.9)
XYZxyz(56.4386, 60.9327, 18.6839)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC5B #5B76E7
analogous
#E7865B #E7CC5B #BCE75B
triadic
#E7CC5B #5BE7CC #CC5BE7
tetradic
#E7CC5B #5BE786 #5B76E7 #E75BBC
square
#E7CC5B #5BE786 #5B76E7 #E75BBC
split-complementary
#E7CC5B #5BBCE7 #865BE7
monochromatic
#AE9119 #DFBB26 #E7CC5B #EFDD90 #F7EDC6

Accessibility & contrast

On white

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

On black

13.19
#E7CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC5B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC5B#FFFFFF#000000##000000
##E7CC5B1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc5b;
/* rgb */ color: rgb(231, 204, 91);
/* oklch */ color: oklch(84.7% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e7cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc5b;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc5b",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 48.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84658,
    "c": 0.13509,
    "h": 95.9
  },
  "luminance": 0.6093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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