#E4C45A#E4C45A

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

Color values

HEX#E4C45A
RGBrgb(228, 196, 90)
HSLhsl(46, 72%, 62%)
HSVhsv(46, 61%, 89%)
CMYKcmyk(0%, 14%, 60.5%, 10.6%)
CIE-LABlab(80.02, -0.83, 56.20)
CIE-LCHlch(80.02, 56.21, 90.84°)
OKLaboklab(82.76% -0.0058 0.1296)
OKLCHoklch(82.76% 0.13 92.6)
XYZxyz(53.5827, 56.7148, 17.7956)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C45A #5A7AE4
analogous
#E47F5A #E4C45A #BFE45A
triadic
#E4C45A #5AE4C4 #C45AE4
tetradic
#E4C45A #5AE47F #5A7AE4 #E45ABF
square
#E4C45A #5AE47F #5A7AE4 #E45ABF
split-complementary
#E4C45A #5ABFE4 #7F5AE4
monochromatic
#A8871C #DBB125 #E4C45A #EDD78F #F5EAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C45A#FFFFFF#000000##000000
##E4C45A1.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)
#D7C14F
Deuteranopia (green-blind)
#DFCA5F
Tritanopia (blue-blind)
#F5B6AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c45a;
/* rgb */ color: rgb(228, 196, 90);
/* oklch */ color: oklch(82.8% 0.130 92.6);
Tailwind
colors: {
  custom: {
    50: '#f0d58c',
    500: '#e4c45a',
    950: '#000000',
  },
}
SCSS
$custom: #e4c45a;
$custom-light: #f0d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c45a",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 46.087,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82755,
    "c": 0.12971,
    "h": 92.6
  },
  "luminance": 0.56712
}

Semantic roles & 50–950 ramp

primary
#E4C45A
secondary
#3853AA
accent
#3FD412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C45A

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

Preview Lab → · Contrast checker → · Palette generator →

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