#E2CC5D#E2CC5D

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

Color values

HEX#E2CC5D
RGBrgb(226, 204, 93)
HSLhsl(50, 70%, 63%)
HSVhsv(50, 59%, 89%)
CMYKcmyk(0%, 9.7%, 58.8%, 11.4%)
CIE-LABlab(81.92, -5.57, 56.93)
CIE-LCHlch(81.92, 57.20, 95.59°)
OKLaboklab(84.22% -0.019 0.1316)
OKLCHoklch(84.22% 0.133 98.2)
XYZxyz(54.9348, 60.1472, 19.0697)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC5D #5D73E2
analogous
#E2895D #E2CC5D #B6E25D
triadic
#E2CC5D #5DE2CC #CC5DE2
tetradic
#E2CC5D #5DE289 #5D73E2 #E25DB6
square
#E2CC5D #5DE289 #5D73E2 #E25DB6
split-complementary
#E2CC5D #5DB6E2 #895DE2
monochromatic
#A7901E #D9BC29 #E2CC5D #EBDC91 #F5EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CC5D#FFFFFF#000000##000000
##E2CC5D1.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)
#DEC751
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#F2BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc5d;
/* rgb */ color: rgb(226, 204, 93);
/* oklch */ color: oklch(84.2% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#eedb8f',
    500: '#e2cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc5d;
$custom-light: #eedb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc5d",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 50.075,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84224,
    "c": 0.13292,
    "h": 98.2
  },
  "luminance": 0.60145
}

Semantic roles & 50–950 ramp

primary
#E2CC5D
secondary
#3A4DA9
accent
#33D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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