#E4C459#E4C459

#E4C459 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.131 H 92.7°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#E4C459
RGBrgb(228, 196, 89)
HSLhsl(46, 72%, 62%)
HSVhsv(46, 61%, 89%)
CMYKcmyk(0%, 14%, 61%, 10.6%)
CIE-LABlab(80.01, -0.90, 56.64)
CIE-LCHlch(80.01, 56.65, 90.91°)
OKLaboklab(82.74% -0.0061 0.1304)
OKLCHoklch(82.74% 0.131 92.7)
XYZxyz(53.5404, 56.6979, 17.5729)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C459 #5979E4
analogous
#E47F59 #E4C459 #BFE459
triadic
#E4C459 #59E4C4 #C459E4
tetradic
#E4C459 #59E47F #5979E4 #E459BF
square
#E4C459 #59E47F #5979E4 #E459BF
split-complementary
#E4C459 #59BFE4 #7F59E4
monochromatic
#A7871B #DBB124 #E4C459 #EDD78E #F5E9C2

Accessibility & contrast

On white

1.70
#E4C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#E4C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C459
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C459#FFFFFF#000000##000000
##E4C4591.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14E
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#F5B6AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c459;
/* rgb */ color: rgb(228, 196, 89);
/* oklch */ color: oklch(82.7% 0.131 92.7);
Tailwind
colors: {
  custom: {
    50: '#f0d58c',
    500: '#e4c459',
    950: '#000000',
  },
}
SCSS
$custom: #e4c459;
$custom-light: #f0d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c459",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 46.187,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82744,
    "c": 0.13053,
    "h": 92.7
  },
  "luminance": 0.56695
}

Semantic roles & 50–950 ramp

primary
#E4C459
secondary
#3852A9
accent
#3ED411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C459

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

Preview Lab → · Contrast checker → · Palette generator →

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