#E4C859#E4C859

#E4C859 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.133 H 95.2°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E4C859
RGBrgb(228, 200, 89)
HSLhsl(48, 72%, 62%)
HSVhsv(48, 61%, 89%)
CMYKcmyk(0%, 12.3%, 61%, 10.6%)
CIE-LABlab(81.03, -2.96, 57.78)
CIE-LCHlch(81.03, 57.85, 92.93°)
OKLaboklab(83.55% -0.012 0.1328)
OKLCHoklch(83.55% 0.133 95.2)
XYZxyz(54.4547, 58.5264, 17.8777)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C859 #5975E4
analogous
#E48359 #E4C859 #BAE459
triadic
#E4C859 #59E4C8 #C859E4
tetradic
#E4C859 #59E483 #5975E4 #E459BA
square
#E4C859 #59E483 #5975E4 #E459BA
split-complementary
#E4C859 #59BAE4 #8359E4
monochromatic
#A78B1B #DBB724 #E4C859 #EDD98E #F5EBC2

Accessibility & contrast

On white

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

On black

12.70
#E4C859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C859
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C859#FFFFFF#000000##000000
##E4C8591.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44D
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#F5BAB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c859;
/* rgb */ color: rgb(228, 200, 89);
/* oklch */ color: oklch(83.6% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#f0d88c',
    500: '#e4c859',
    950: '#000000',
  },
}
SCSS
$custom: #e4c859;
$custom-light: #f0d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c859",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 47.914,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83551,
    "c": 0.13337,
    "h": 95.2
  },
  "luminance": 0.58524
}

Semantic roles & 50–950 ramp

primary
#E4C859
secondary
#384FA9
accent
#39D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C859

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

Preview Lab → · Contrast checker → · Palette generator →

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