#E2CD54#E2CD54

#E2CD54 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.141 H 99.5°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E2CD54
RGBrgb(226, 205, 84)
HSLhsl(51, 71%, 61%)
HSVhsv(51, 63%, 89%)
CMYKcmyk(0%, 9.3%, 62.8%, 11.4%)
CIE-LABlab(82.10, -6.68, 61.07)
CIE-LCHlch(82.10, 61.44, 96.24°)
OKLaboklab(84.34% -0.0232 0.1392)
OKLCHoklch(84.34% 0.141 99.5)
XYZxyz(54.7979, 60.4739, 17.1720)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD54 #5469E2
analogous
#E28654 #E2CD54 #B0E254
triadic
#E2CD54 #54E2CD #CD54E2
tetradic
#E2CD54 #54E286 #5469E2 #E254B0
square
#E2CD54 #54E286 #5469E2 #E254B0
split-complementary
#E2CD54 #54B0E2 #8654E2
monochromatic
#A08D1B #D5BB24 #E2CD54 #EBDC88 #F4ECBD

Accessibility & contrast

On white

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

On black

13.09
#E2CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD54
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD54#FFFFFF#000000##000000
##E2CD541.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd54;
/* rgb */ color: rgb(226, 205, 84);
/* oklch */ color: oklch(84.3% 0.141 99.5);
Tailwind
colors: {
  custom: {
    50: '#eedb89',
    500: '#e2cd54',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd54;
$custom-light: #eedb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd54",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 51.127,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84338,
    "c": 0.14111,
    "h": 99.5
  },
  "luminance": 0.60471
}

Semantic roles & 50–950 ramp

primary
#E2CD54
secondary
#3747A3
accent
#2FD312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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