#E4CC49#E4CC49

#E4CC49 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.2% C 0.148 H 98.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#E4CC49
RGBrgb(228, 204, 73)
HSLhsl(51, 74%, 59%)
HSVhsv(51, 68%, 89%)
CMYKcmyk(0%, 10.5%, 68%, 10.6%)
CIE-LABlab(81.93, -5.97, 65.48)
CIE-LCHlch(81.93, 65.75, 95.21°)
OKLaboklab(84.22% -0.0225 0.1468)
OKLCHoklch(84.22% 0.148 98.7)
XYZxyz(54.7929, 60.1634, 15.0286)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC49 #4961E4
analogous
#E47F49 #E4CC49 #AFE449
triadic
#E4CC49 #49E4CC #CC49E4
tetradic
#E4CC49 #49E47F #4961E4 #E449AF
square
#E4CC49 #49E47F #4961E4 #E449AF
split-complementary
#E4CC49 #49AFE4 #7F49E4
monochromatic
#9C8717 #D1B51F #E4CC49 #ECDB7E #F4EAB4

Accessibility & contrast

On white

1.61
#E4CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#E4CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC49
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC49#FFFFFF#000000##000000
##E4CC491.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC737
Deuteranopia (green-blind)
#E6CF51
Tritanopia (blue-blind)
#F5BDB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc49;
/* rgb */ color: rgb(228, 204, 73);
/* oklch */ color: oklch(84.2% 0.148 98.7);
Tailwind
colors: {
  custom: {
    50: '#f0db83',
    500: '#e4cc49',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc49;
$custom-light: #f0db83;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc49",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 50.71,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84219,
    "c": 0.14846,
    "h": 98.7
  },
  "luminance": 0.60161
}

Semantic roles & 50–950 ramp

primary
#E4CC49
secondary
#32439F
accent
#54F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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