#E4C45F#E4C45F

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

Color values

HEX#E4C45F
RGBrgb(228, 196, 95)
HSLhsl(46, 71%, 63%)
HSVhsv(46, 58%, 89%)
CMYKcmyk(0%, 14%, 58.3%, 10.6%)
CIE-LABlab(80.07, -0.48, 53.96)
CIE-LCHlch(80.07, 53.97, 90.51°)
OKLaboklab(82.81% -0.0042 0.1254)
OKLCHoklch(82.81% 0.125 91.9)
XYZxyz(53.8027, 56.8028, 18.9543)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C45F #5F7FE4
analogous
#E4815F #E4C45F #C1E45F
triadic
#E4C45F #5FE4C4 #C45FE4
tetradic
#E4C45F #5FE481 #5F7FE4 #E45FC1
square
#E4C45F #5FE481 #5F7FE4 #E45FC1
split-complementary
#E4C45F #5FC1E4 #815FE4
monochromatic
#AC891D #DBB12B #E4C45F #EDD793 #F6EBC8

Accessibility & contrast

On white

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

On black

12.36
#E4C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C45F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C45F#FFFFFF#000000##000000
##E4C45F1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C155
Deuteranopia (green-blind)
#DECB63
Tritanopia (blue-blind)
#F5B6AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c45f;
/* rgb */ color: rgb(228, 196, 95);
/* oklch */ color: oklch(82.8% 0.125 91.9);
Tailwind
colors: {
  custom: {
    50: '#efd58f',
    500: '#e4c45f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c45f;
$custom-light: #efd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c45f",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 45.564,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8281,
    "c": 0.12546,
    "h": 91.9
  },
  "luminance": 0.568
}

Semantic roles & 50–950 ramp

primary
#E4C45F
secondary
#3A56AD
accent
#41D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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