#E7CC5D#E7CC5D

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

Color values

HEX#E7CC5D
RGBrgb(231, 204, 93)
HSLhsl(48, 74%, 64%)
HSVhsv(48, 60%, 91%)
CMYKcmyk(0%, 11.7%, 59.7%, 9.4%)
CIE-LABlab(82.36, -3.50, 57.54)
CIE-LCHlch(82.36, 57.65, 93.48°)
OKLaboklab(84.68% -0.0133 0.1328)
OKLCHoklch(84.68% 0.133 95.7)
XYZxyz(56.5260, 60.9676, 19.1443)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC5D #5D78E7
analogous
#E7875D #E7CC5D #BDE75D
triadic
#E7CC5D #5DE7CC #CC5DE7
tetradic
#E7CC5D #5DE787 #5D78E7 #E75DBD
square
#E7CC5D #5DE787 #5D78E7 #E75DBD
split-complementary
#E7CC5D #5DBDE7 #875DE7
monochromatic
#B0921A #DFBB28 #E7CC5D #EFDD92 #F7EEC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CC5D#FFFFFF#000000##000000
##E7CC5D1.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)
#DFC851
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#F8BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc5d;
/* rgb */ color: rgb(231, 204, 93);
/* oklch */ color: oklch(84.7% 0.133 95.7);
Tailwind
colors: {
  custom: {
    50: '#f2db8f',
    500: '#e7cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc5d;
$custom-light: #f2db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc5d",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 48.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84679,
    "c": 0.13343,
    "h": 95.7
  },
  "luminance": 0.60965
}

Semantic roles & 50–950 ramp

primary
#E7CC5D
secondary
#384FB0
accent
#36D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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