#E0CD54#E0CD54

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

Color values

HEX#E0CD54
RGBrgb(224, 205, 84)
HSLhsl(52, 69%, 60%)
HSVhsv(52, 63%, 88%)
CMYKcmyk(0%, 8.5%, 62.5%, 12.2%)
CIE-LABlab(81.92, -7.51, 60.83)
CIE-LCHlch(81.92, 61.30, 97.04°)
OKLaboklab(84.16% -0.0254 0.1387)
OKLCHoklch(84.16% 0.141 100.4)
XYZxyz(54.1742, 60.1523, 17.1428)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CD54 #5467E0
analogous
#E08754 #E0CD54 #ADE054
triadic
#E0CD54 #54E0CD #CD54E0
tetradic
#E0CD54 #54E087 #5467E0 #E054AD
square
#E0CD54 #54E087 #5467E0 #E054AD
split-complementary
#E0CD54 #54ADE0 #8754E0
monochromatic
#9D8C1C #D1BA26 #E0CD54 #E9DC88 #F3EBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E0CD54#FFFFFF#000000##000000
##E0CD541.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)
#DFC746
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#F0BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0cd54;
/* rgb */ color: rgb(224, 205, 84);
/* oklch */ color: oklch(84.2% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#eddb89',
    500: '#e0cd54',
    950: '#000000',
  },
}
SCSS
$custom: #e0cd54;
$custom-light: #eddb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cd54",
  "rgb": {
    "r": 224,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 51.857,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84158,
    "c": 0.14105,
    "h": 100.4
  },
  "luminance": 0.6015
}

Semantic roles & 50–950 ramp

primary
#E0CD54
secondary
#3846A1
accent
#2ED114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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