#E5CC50#E5CC50

#E5CC50 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.144 H 97.8°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E5CC50
RGBrgb(229, 204, 80)
HSLhsl(50, 74%, 61%)
HSVhsv(50, 65%, 90%)
CMYKcmyk(0%, 10.9%, 65.1%, 10.2%)
CIE-LABlab(82.07, -5.16, 62.81)
CIE-LCHlch(82.07, 63.02, 94.69°)
OKLaboklab(84.37% -0.0194 0.1422)
OKLCHoklch(84.37% 0.144 97.8)
XYZxyz(55.3564, 60.4256, 16.3353)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC50 #5069E5
analogous
#E58150 #E5CC50 #B3E550
triadic
#E5CC50 #50E5CC #CC50E5
tetradic
#E5CC50 #50E581 #5069E5 #E550B3
square
#E5CC50 #50E581 #5069E5 #E550B3
split-complementary
#E5CC50 #50B3E5 #8150E5
monochromatic
#A28B18 #D8B920 #E5CC50 #EDDC85 #F5EBBB

Accessibility & contrast

On white

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

On black

13.08
#E5CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC50
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC50#FFFFFF#000000##000000
##E5CC501.001.6013.0813.08
#FFFFFF1.601.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#F6BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc50;
/* rgb */ color: rgb(229, 204, 80);
/* oklch */ color: oklch(84.4% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#f1db87',
    500: '#e5cc50',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc50;
$custom-light: #f1db87;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc50",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 49.933,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84369,
    "c": 0.14352,
    "h": 97.8
  },
  "luminance": 0.60423
}

Semantic roles & 50–950 ramp

primary
#E5CC50
secondary
#3447A5
accent
#31D60F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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