#E4C759#E4C759

#E4C759 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.133 H 94.6°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#E4C759
RGBrgb(228, 199, 89)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 61%, 89%)
CMYKcmyk(0%, 12.7%, 61%, 10.6%)
CIE-LABlab(80.77, -2.45, 57.49)
CIE-LCHlch(80.77, 57.55, 92.44°)
OKLaboklab(83.35% -0.0106 0.1322)
OKLCHoklch(83.35% 0.133 94.6)
XYZxyz(54.2239, 58.0648, 17.8007)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C759 #5976E4
analogous
#E48259 #E4C759 #BCE459
triadic
#E4C759 #59E4C7 #C759E4
tetradic
#E4C759 #59E482 #5976E4 #E459BC
square
#E4C759 #59E482 #5976E4 #E459BC
split-complementary
#E4C759 #59BCE4 #8259E4
monochromatic
#A78A1B #DBB524 #E4C759 #EDD98E #F5EBC2

Accessibility & contrast

On white

1.67
#E4C759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#E4C759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C759
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C759#FFFFFF#000000##000000
##E4C7591.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34D
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#F5B9AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c759;
/* rgb */ color: rgb(228, 199, 89);
/* oklch */ color: oklch(83.3% 0.133 94.6);
Tailwind
colors: {
  custom: {
    50: '#f0d78c',
    500: '#e4c759',
    950: '#000000',
  },
}
SCSS
$custom: #e4c759;
$custom-light: #f0d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c759",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 47.482,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83349,
    "c": 0.13263,
    "h": 94.6
  },
  "luminance": 0.58062
}

Semantic roles & 50–950 ramp

primary
#E4C759
secondary
#3850A9
accent
#3AD411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C759

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

Preview Lab → · Contrast checker → · Palette generator →

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