#E8CC45#E8CC45

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

Color values

HEX#E8CC45
RGBrgb(232, 204, 69)
HSLhsl(50, 78%, 59%)
HSVhsv(50, 70%, 91%)
CMYKcmyk(0%, 12.1%, 70.3%, 9%)
CIE-LABlab(82.26, -4.48, 67.48)
CIE-LCHlch(82.26, 67.63, 93.80°)
OKLaboklab(84.56% -0.0189 0.1502)
OKLCHoklch(84.56% 0.151 97.2)
XYZxyz(55.9485, 60.7741, 14.4127)
Luminance0.6077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC45 #4561E8
analogous
#E87B45 #E8CC45 #B3E845
triadic
#E8CC45 #45E8CC #CC45E8
tetradic
#E8CC45 #45E87B #4561E8 #E845B3
square
#E8CC45 #45E87B #4561E8 #E845B3
split-complementary
#E8CC45 #45B3E8 #7B45E8
monochromatic
#9F8714 #D5B51A #E8CC45 #EFDB7B #F5EAB2

Accessibility & contrast

On white

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

On black

13.15
#E8CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC45
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC45#FFFFFF#000000##000000
##E8CC451.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C731
Deuteranopia (green-blind)
#E7D14D
Tritanopia (blue-blind)
#FABDB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc45;
/* rgb */ color: rgb(232, 204, 69);
/* oklch */ color: oklch(84.6% 0.151 97.2);
Tailwind
colors: {
  custom: {
    50: '#f3db80',
    500: '#e8cc45',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc45;
$custom-light: #f3db80;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc45",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 49.693,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84556,
    "c": 0.15135,
    "h": 97.2
  },
  "luminance": 0.60771
}

Semantic roles & 50–950 ramp

primary
#E8CC45
secondary
#2F43A2
accent
#54F433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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