#E0C154#E0C154

#E0C154 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.132 H 93.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#E0C154
RGBrgb(224, 193, 84)
HSLhsl(47, 69%, 60%)
HSVhsv(47, 63%, 88%)
CMYKcmyk(0%, 13.8%, 62.5%, 12.2%)
CIE-LABlab(78.83, -1.35, 57.47)
CIE-LCHlch(78.83, 57.49, 91.34°)
OKLaboklab(81.71% -0.0077 0.1316)
OKLCHoklch(81.71% 0.132 93.4)
XYZxyz(51.4130, 54.6300, 16.2224)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C154 #5473E0
analogous
#E07B54 #E0C154 #B9E054
triadic
#E0C154 #54E0C1 #C154E0
tetradic
#E0C154 #54E07B #5473E0 #E054B9
square
#E0C154 #54E07B #5473E0 #E054B9
split-complementary
#E0C154 #54B9E0 #7B54E0
monochromatic
#9D811C #D1AB26 #E0C154 #E9D488 #F3E7BC

Accessibility & contrast

On white

1.76
#E0C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#E0C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C154
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C154#FFFFFF#000000##000000
##E0C1541.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#F1B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e0c154;
/* rgb */ color: rgb(224, 193, 84);
/* oklch */ color: oklch(81.7% 0.132 93.4);
Tailwind
colors: {
  custom: {
    50: '#edd388',
    500: '#e0c154',
    950: '#000000',
  },
}
SCSS
$custom: #e0c154;
$custom-light: #edd388;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c154",
  "rgb": {
    "r": 224,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 46.714,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81709,
    "c": 0.13181,
    "h": 93.4
  },
  "luminance": 0.54627
}

Semantic roles & 50–950 ramp

primary
#E0C154
secondary
#384FA1
accent
#3ED114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C154

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

Preview Lab → · Contrast checker → · Palette generator →

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