#E4D45F#E4D45F

#E4D45F is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.138 H 101.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#E4D45F
RGBrgb(228, 212, 95)
HSLhsl(53, 71%, 63%)
HSVhsv(53, 58%, 89%)
CMYKcmyk(0%, 7%, 58.3%, 10.6%)
CIE-LABlab(84.18, -8.67, 58.61)
CIE-LCHlch(84.18, 59.25, 98.41°)
OKLaboklab(86.06% -0.0277 0.1354)
OKLCHoklch(86.06% 0.138 101.6)
XYZxyz(57.6060, 64.4094, 20.2221)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D45F #5F6FE4
analogous
#E4915F #E4D45F #B1E45F
triadic
#E4D45F #5FE4D4 #D45FE4
tetradic
#E4D45F #5FE491 #5F6FE4 #E45FB1
square
#E4D45F #5FE491 #5F6FE4 #E45FB1
split-complementary
#E4D45F #5FB1E4 #915FE4
monochromatic
#AC9A1D #DBC62B #E4D45F #EDE293 #F6F0C8

Accessibility & contrast

On white

1.51
#E4D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#E4D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D45F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D45F#FFFFFF#000000##000000
##E4D45F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE53
Deuteranopia (green-blind)
#EAD565
Tritanopia (blue-blind)
#F4C7BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d45f;
/* rgb */ color: rgb(228, 212, 95);
/* oklch */ color: oklch(86.1% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#efe090',
    500: '#e4d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d45f;
$custom-light: #efe090;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d45f",
  "rgb": {
    "r": 228,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 52.782,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86063,
    "c": 0.13818,
    "h": 101.6
  },
  "luminance": 0.64407
}

Semantic roles & 50–950 ramp

primary
#E4D45F
secondary
#3A48AD
accent
#2AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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