#E4C155#E4C155

#E4C155 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.1% C 0.132 H 91.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#E4C155
RGBrgb(228, 193, 85)
HSLhsl(45, 73%, 61%)
HSVhsv(45, 63%, 89%)
CMYKcmyk(0%, 15.4%, 62.7%, 10.6%)
CIE-LABlab(79.21, 0.40, 57.55)
CIE-LCHlch(79.21, 57.55, 89.60°)
OKLaboklab(82.1% -0.0028 0.1318)
OKLCHoklch(82.1% 0.132 91.2)
XYZxyz(52.7071, 55.2927, 16.4889)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C155 #5578E4
analogous
#E47A55 #E4C155 #C0E455
triadic
#E4C155 #55E4C1 #C155E4
tetradic
#E4C155 #55E47A #5578E4 #E455C0
square
#E4C155 #55E47A #5578E4 #E455C0
split-complementary
#E4C155 #55C0E4 #7A55E4
monochromatic
#A4831A #D9AD23 #E4C155 #ECD48A #F5E8BF

Accessibility & contrast

On white

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

On black

12.06
#E4C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C155
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C155#FFFFFF#000000##000000
##E4C1551.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE49
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#F5B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c155;
/* rgb */ color: rgb(228, 193, 85);
/* oklch */ color: oklch(82.1% 0.132 91.2);
Tailwind
colors: {
  custom: {
    50: '#f0d389',
    500: '#e4c155',
    950: '#000000',
  },
}
SCSS
$custom: #e4c155;
$custom-light: #f0d389;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c155",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 45.315,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.13182,
    "h": 91.2
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#E4C155
secondary
#3652A7
accent
#41D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C155

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

Preview Lab → · Contrast checker → · Palette generator →

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