#E4C45C#E4C45C

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

Color values

HEX#E4C45C
RGBrgb(228, 196, 92)
HSLhsl(46, 72%, 63%)
HSVhsv(46, 60%, 89%)
CMYKcmyk(0%, 14%, 59.6%, 10.6%)
CIE-LABlab(80.04, -0.69, 55.31)
CIE-LCHlch(80.04, 55.32, 90.72°)
OKLaboklab(82.78% -0.0051 0.1279)
OKLCHoklch(82.78% 0.128 92.3)
XYZxyz(53.6690, 56.7493, 18.2500)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C45C #5C7CE4
analogous
#E4805C #E4C45C #C0E45C
triadic
#E4C45C #5CE4C4 #C45CE4
tetradic
#E4C45C #5CE480 #5C7CE4 #E45CC0
square
#E4C45C #5CE480 #5C7CE4 #E45CC0
split-complementary
#E4C45C #5CC0E4 #805CE4
monochromatic
#AA881C #DBB127 #E4C45C #EDD791 #F5EAC5

Accessibility & contrast

On white

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

On black

12.35
#E4C45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C45C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C45C#FFFFFF#000000##000000
##E4C45C1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c45c;
/* rgb */ color: rgb(228, 196, 92);
/* oklch */ color: oklch(82.8% 0.128 92.3);
Tailwind
colors: {
  custom: {
    50: '#f0d58e',
    500: '#e4c45c',
    950: '#000000',
  },
}
SCSS
$custom: #e4c45c;
$custom-light: #f0d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c45c",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 92
  },
  "hsl": {
    "h": 45.882,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82776,
    "c": 0.12803,
    "h": 92.3
  },
  "luminance": 0.56747
}

Semantic roles & 50–950 ramp

primary
#E4C45C
secondary
#3954AB
accent
#3FD412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C45C

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

Preview Lab → · Contrast checker → · Palette generator →

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