#E7CC5C#E7CC5C

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

Color values

HEX#E7CC5C
RGBrgb(231, 204, 92)
HSLhsl(48, 74%, 63%)
HSVhsv(48, 60%, 91%)
CMYKcmyk(0%, 11.7%, 60.2%, 9.4%)
CIE-LABlab(82.35, -3.56, 57.98)
CIE-LCHlch(82.35, 58.09, 93.52°)
OKLaboklab(84.67% -0.0136 0.1336)
OKLCHoklch(84.67% 0.134 95.8)
XYZxyz(56.4820, 60.9500, 18.9126)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC5C #5C77E7
analogous
#E7865C #E7CC5C #BDE75C
triadic
#E7CC5C #5CE7CC #CC5CE7
tetradic
#E7CC5C #5CE786 #5C77E7 #E75CBD
square
#E7CC5C #5CE786 #5C77E7 #E75CBD
split-complementary
#E7CC5C #5CBDE7 #865CE7
monochromatic
#AF921A #DFBB27 #E7CC5C #EFDD91 #F7EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CC5C#FFFFFF#000000##000000
##E7CC5C1.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)
#DFC850
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#F8BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc5c;
/* rgb */ color: rgb(231, 204, 92);
/* oklch */ color: oklch(84.7% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#f2db8e',
    500: '#e7cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc5c;
$custom-light: #f2db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc5c",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 48.345,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.13426,
    "h": 95.8
  },
  "luminance": 0.60947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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