#E7CC55#E7CC55

#E7CC55 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.6% C 0.140 H 96.5°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E7CC55
RGBrgb(231, 204, 85)
HSLhsl(49, 75%, 62%)
HSVhsv(49, 63%, 91%)
CMYKcmyk(0%, 11.7%, 63.2%, 9.4%)
CIE-LABlab(82.29, -4.02, 60.98)
CIE-LCHlch(82.29, 61.12, 93.77°)
OKLaboklab(84.6% -0.0157 0.139)
OKLCHoklch(84.6% 0.14 96.5)
XYZxyz(56.1901, 60.8332, 17.3748)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC55 #5570E7
analogous
#E78355 #E7CC55 #B9E755
triadic
#E7CC55 #55E7CC #CC55E7
tetradic
#E7CC55 #55E783 #5570E7 #E755B9
square
#E7CC55 #55E783 #5570E7 #E755B9
split-complementary
#E7CC55 #55B9E7 #8355E7
monochromatic
#AA8F18 #DFBC20 #E7CC55 #EFDC8B #F6ECC0

Accessibility & contrast

On white

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

On black

13.17
#E7CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC55
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC55#FFFFFF#000000##000000
##E7CC551.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc55;
/* rgb */ color: rgb(231, 204, 85);
/* oklch */ color: oklch(84.6% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2db8a',
    500: '#e7cc55',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc55;
$custom-light: #f2db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc55",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 48.904,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84599,
    "c": 0.1399,
    "h": 96.5
  },
  "luminance": 0.60831
}

Semantic roles & 50–950 ramp

primary
#E7CC55
secondary
#354BAB
accent
#33D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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