#E9CC54#E9CC54

#E9CC54 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.141 H 95.6°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E9CC54
RGBrgb(233, 204, 84)
HSLhsl(48, 77%, 62%)
HSVhsv(48, 64%, 91%)
CMYKcmyk(0%, 12.4%, 63.9%, 8.6%)
CIE-LABlab(82.46, -3.25, 61.65)
CIE-LCHlch(82.46, 61.74, 93.01°)
OKLaboklab(84.77% -0.0138 0.1402)
OKLCHoklch(84.77% 0.141 95.6)
XYZxyz(56.8000, 61.1523, 17.1975)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC54 #5471E9
analogous
#E98254 #E9CC54 #BCE954
triadic
#E9CC54 #54E9CC #CC54E9
tetradic
#E9CC54 #54E982 #5471E9 #E954BC
square
#E9CC54 #54E982 #5471E9 #E954BC
split-complementary
#E9CC54 #54BCE9 #8254E9
monochromatic
#AC8F16 #E2BC1E #E9CC54 #F0DC8A #F7ECC0

Accessibility & contrast

On white

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

On black

13.23
#E9CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC54
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC54#FFFFFF#000000##000000
##E9CC541.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9cc54;
/* rgb */ color: rgb(233, 204, 84);
/* oklch */ color: oklch(84.8% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#f3db89',
    500: '#e9cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc54;
$custom-light: #f3db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc54",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 48.322,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.14089,
    "h": 95.6
  },
  "luminance": 0.61149
}

Semantic roles & 50–950 ramp

primary
#E9CC54
secondary
#344BAD
accent
#34D90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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