#E5CC54#E5CC54

#E5CC54 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.140 H 97.5°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E5CC54
RGBrgb(229, 204, 84)
HSLhsl(50, 74%, 61%)
HSVhsv(50, 63%, 90%)
CMYKcmyk(0%, 10.9%, 63.3%, 10.2%)
CIE-LABlab(82.10, -4.92, 61.16)
CIE-LCHlch(82.10, 61.36, 94.60°)
OKLaboklab(84.41% -0.0183 0.1393)
OKLCHoklch(84.41% 0.14 97.5)
XYZxyz(55.5086, 60.4864, 17.1370)
Luminance0.6048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC54 #546DE5
analogous
#E58454 #E5CC54 #B6E554
triadic
#E5CC54 #54E5CC #CC54E5
tetradic
#E5CC54 #54E584 #546DE5 #E554B6
square
#E5CC54 #54E584 #546DE5 #E554B6
split-complementary
#E5CC54 #54B6E5 #8454E5
monochromatic
#A58D19 #DBBB21 #E5CC54 #EDDC89 #F5ECBE

Accessibility & contrast

On white

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

On black

13.10
#E5CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC54
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC54#FFFFFF#000000##000000
##E5CC541.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#F6BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc54;
/* rgb */ color: rgb(229, 204, 84);
/* oklch */ color: oklch(84.4% 0.140 97.5);
Tailwind
colors: {
  custom: {
    50: '#f1db89',
    500: '#e5cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc54;
$custom-light: #f1db89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc54",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 49.655,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84406,
    "c": 0.14049,
    "h": 97.5
  },
  "luminance": 0.60484
}

Semantic roles & 50–950 ramp

primary
#E5CC54
secondary
#3649A8
accent
#32D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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