#E5C154#E5C154

#E5C154 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.2% C 0.133 H 90.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#E5C154
RGBrgb(229, 193, 84)
HSLhsl(45, 74%, 61%)
HSVhsv(45, 63%, 90%)
CMYKcmyk(0%, 15.7%, 63.3%, 10.2%)
CIE-LABlab(79.29, 0.75, 58.11)
CIE-LCHlch(79.29, 58.12, 89.26°)
OKLaboklab(82.19% -0.002 0.1328)
OKLCHoklch(82.19% 0.133 90.9)
XYZxyz(52.9859, 55.4410, 16.2961)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C154 #5478E5
analogous
#E57954 #E5C154 #C1E554
triadic
#E5C154 #54E5C1 #C154E5
tetradic
#E5C154 #54E579 #5478E5 #E554C1
square
#E5C154 #54E579 #5478E5 #E554C1
split-complementary
#E5C154 #54C1E5 #7954E5
monochromatic
#A58319 #DBAD21 #E5C154 #EDD489 #F5E8BE

Accessibility & contrast

On white

1.74
#E5C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#E5C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C154
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C154#FFFFFF#000000##000000
##E5C1541.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE48
Deuteranopia (green-blind)
#DDC959
Tritanopia (blue-blind)
#F7B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e5c154;
/* rgb */ color: rgb(229, 193, 84);
/* oklch */ color: oklch(82.2% 0.133 90.9);
Tailwind
colors: {
  custom: {
    50: '#f1d388',
    500: '#e5c154',
    950: '#000000',
  },
}
SCSS
$custom: #e5c154;
$custom-light: #f1d388;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c154",
  "rgb": {
    "r": 229,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 45.103,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82187,
    "c": 0.13284,
    "h": 90.9
  },
  "luminance": 0.55438
}

Semantic roles & 50–950 ramp

primary
#E5C154
secondary
#3652A8
accent
#41D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C154

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

Preview Lab → · Contrast checker → · Palette generator →

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