#E4C45D#E4C45D

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

Color values

HEX#E4C45D
RGBrgb(228, 196, 93)
HSLhsl(46, 71%, 63%)
HSVhsv(46, 59%, 89%)
CMYKcmyk(0%, 14%, 59.2%, 10.6%)
CIE-LABlab(80.05, -0.62, 54.86)
CIE-LCHlch(80.05, 54.87, 90.65°)
OKLaboklab(82.79% -0.0048 0.1271)
OKLCHoklch(82.79% 0.127 92.2)
XYZxyz(53.7130, 56.7669, 18.4817)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C45D #5D7DE4
analogous
#E4805D #E4C45D #C0E45D
triadic
#E4C45D #5DE4C4 #C45DE4
tetradic
#E4C45D #5DE480 #5D7DE4 #E45DC0
square
#E4C45D #5DE480 #5D7DE4 #E45DC0
split-complementary
#E4C45D #5DC0E4 #805DE4
monochromatic
#AA891C #DBB129 #E4C45D #EDD791 #F5EAC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C45D#FFFFFF#000000##000000
##E4C45D1.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)
#D7C153
Deuteranopia (green-blind)
#DFCA61
Tritanopia (blue-blind)
#F5B6AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c45d;
/* rgb */ color: rgb(228, 196, 93);
/* oklch */ color: oklch(82.8% 0.127 92.2);
Tailwind
colors: {
  custom: {
    50: '#f0d58e',
    500: '#e4c45d',
    950: '#000000',
  },
}
SCSS
$custom: #e4c45d;
$custom-light: #f0d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c45d",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 45.778,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82787,
    "c": 0.12718,
    "h": 92.2
  },
  "luminance": 0.56764
}

Semantic roles & 50–950 ramp

primary
#E4C45D
secondary
#3954AC
accent
#40D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C45D

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

Preview Lab → · Contrast checker → · Palette generator →

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