#E4C855#E4C855

#E4C855 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.137 H 95.6°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E4C855
RGBrgb(228, 200, 85)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 63%, 89%)
CMYKcmyk(0%, 12.3%, 62.7%, 10.6%)
CIE-LABlab(80.99, -3.22, 59.50)
CIE-LCHlch(80.99, 59.59, 93.10°)
OKLaboklab(83.51% -0.0133 0.1359)
OKLCHoklch(83.51% 0.137 95.6)
XYZxyz(54.2913, 58.4611, 17.0170)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C855 #5571E4
analogous
#E48155 #E4C855 #B9E455
triadic
#E4C855 #55E4C8 #C855E4
tetradic
#E4C855 #55E481 #5571E4 #E455B9
square
#E4C855 #55E481 #5571E4 #E455B9
split-complementary
#E4C855 #55B9E4 #8155E4
monochromatic
#A4891A #D9B623 #E4C855 #ECD98A #F5EABF

Accessibility & contrast

On white

1.65
#E4C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#E4C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C855
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C855#FFFFFF#000000##000000
##E4C8551.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c855;
/* rgb */ color: rgb(228, 200, 85);
/* oklch */ color: oklch(83.5% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#f0d889',
    500: '#e4c855',
    950: '#000000',
  },
}
SCSS
$custom: #e4c855;
$custom-light: #f0d889;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c855",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 48.252,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83511,
    "c": 0.13659,
    "h": 95.6
  },
  "luminance": 0.58458
}

Semantic roles & 50–950 ramp

primary
#E4C855
secondary
#364CA7
accent
#37D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C855

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

Preview Lab → · Contrast checker → · Palette generator →

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