#E7CC54#E7CC54

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

Color values

HEX#E7CC54
RGBrgb(231, 204, 84)
HSLhsl(49, 75%, 62%)
HSVhsv(49, 64%, 91%)
CMYKcmyk(0%, 11.7%, 63.6%, 9.4%)
CIE-LABlab(82.28, -4.08, 61.40)
CIE-LCHlch(82.28, 61.54, 93.80°)
OKLaboklab(84.59% -0.016 0.1398)
OKLCHoklch(84.59% 0.141 96.5)
XYZxyz(56.1506, 60.8175, 17.1671)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC54 #546FE7
analogous
#E78354 #E7CC54 #B8E754
triadic
#E7CC54 #54E7CC #CC54E7
tetradic
#E7CC54 #54E783 #546FE7 #E754B8
square
#E7CC54 #54E783 #546FE7 #E754B8
split-complementary
#E7CC54 #54B8E7 #8354E7
monochromatic
#A98E18 #DFBB1F #E7CC54 #EFDC8A #F6ECBF

Accessibility & contrast

On white

1.60
#E7CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#E7CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC54
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC54#FFFFFF#000000##000000
##E7CC541.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cc54;
/* rgb */ color: rgb(231, 204, 84);
/* oklch */ color: oklch(84.6% 0.141 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2db89',
    500: '#e7cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc54;
$custom-light: #f2db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc54",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 48.98,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84589,
    "c": 0.14068,
    "h": 96.5
  },
  "luminance": 0.60815
}

Semantic roles & 50–950 ramp

primary
#E7CC54
secondary
#354AAA
accent
#33D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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