#E5C45F#E5C45F

#E5C45F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.9% C 0.126 H 91.4°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#E5C45F
RGBrgb(229, 196, 95)
HSLhsl(45, 72%, 64%)
HSVhsv(45, 59%, 90%)
CMYKcmyk(0%, 14.4%, 58.5%, 10.2%)
CIE-LABlab(80.16, -0.06, 54.09)
CIE-LCHlch(80.16, 54.09, 90.07°)
OKLaboklab(82.91% -0.003 0.1257)
OKLCHoklch(82.91% 0.126 91.4)
XYZxyz(54.1210, 56.9669, 18.9693)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C45F #5F80E5
analogous
#E5815F #E5C45F #C3E55F
triadic
#E5C45F #5FE5C4 #C45FE5
tetradic
#E5C45F #5FE581 #5F80E5 #E55FC3
square
#E5C45F #5FE581 #5F80E5 #E55FC3
split-complementary
#E5C45F #5FC3E5 #815FE5
monochromatic
#AD8A1C #DCB12A #E5C45F #EED794 #F6EBC8

Accessibility & contrast

On white

1.69
#E5C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#E5C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C45F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C45F#FFFFFF#000000##000000
##E5C45F1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C155
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#F6B6AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e5c45f;
/* rgb */ color: rgb(229, 196, 95);
/* oklch */ color: oklch(82.9% 0.126 91.4);
Tailwind
colors: {
  custom: {
    50: '#f0d58f',
    500: '#e5c45f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c45f;
$custom-light: #f0d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c45f",
  "rgb": {
    "r": 229,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 45.224,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82905,
    "c": 0.12569,
    "h": 91.4
  },
  "luminance": 0.56964
}

Semantic roles & 50–950 ramp

primary
#E5C45F
secondary
#3A56AF
accent
#41D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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