#E5D45F#E5D45F

#E5D45F is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.138 H 101.1°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#E5D45F
RGBrgb(229, 212, 95)
HSLhsl(52, 72%, 64%)
HSVhsv(52, 59%, 90%)
CMYKcmyk(0%, 7.4%, 58.5%, 10.2%)
CIE-LABlab(84.26, -8.26, 58.73)
CIE-LCHlch(84.26, 59.31, 98.00°)
OKLaboklab(86.15% -0.0266 0.1356)
OKLCHoklch(86.15% 0.138 101.1)
XYZxyz(57.9243, 64.5735, 20.2370)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D45F #5F70E5
analogous
#E5915F #E5D45F #B3E55F
triadic
#E5D45F #5FE5D4 #D45FE5
tetradic
#E5D45F #5FE591 #5F70E5 #E55FB3
square
#E5D45F #5FE591 #5F70E5 #E55FB3
split-complementary
#E5D45F #5FB3E5 #915FE5
monochromatic
#AD9B1C #DCC62A #E5D45F #EEE294 #F6F0C8

Accessibility & contrast

On white

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

On black

13.91
#E5D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D45F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D45F#FFFFFF#000000##000000
##E5D45F1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5d45f;
/* rgb */ color: rgb(229, 212, 95);
/* oklch */ color: oklch(86.2% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#f0e090',
    500: '#e5d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d45f;
$custom-light: #f0e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d45f",
  "rgb": {
    "r": 229,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 52.388,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86151,
    "c": 0.13819,
    "h": 101.1
  },
  "luminance": 0.64571
}

Semantic roles & 50–950 ramp

primary
#E5D45F
secondary
#3A48AF
accent
#2AD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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