#E5CD5A#E5CD5A

#E5CD5A is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.136 H 97.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E5CD5A
RGBrgb(229, 205, 90)
HSLhsl(50, 73%, 63%)
HSVhsv(50, 61%, 90%)
CMYKcmyk(0%, 10.5%, 60.7%, 10.2%)
CIE-LABlab(82.41, -5.04, 58.89)
CIE-LCHlch(82.41, 59.10, 94.89°)
OKLaboklab(84.67% -0.018 0.1353)
OKLCHoklch(84.67% 0.136 97.6)
XYZxyz(55.9922, 61.0614, 18.5076)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD5A #5A72E5
analogous
#E5875A #E5CD5A #B8E55A
triadic
#E5CD5A #5AE5CD #CD5AE5
tetradic
#E5CD5A #5AE587 #5A72E5 #E55AB8
square
#E5CD5A #5AE587 #5A72E5 #E55AB8
split-complementary
#E5CD5A #5AB8E5 #875AE5
monochromatic
#AA911B #DDBD25 #E5CD5A #EDDD8F #F6EDC4

Accessibility & contrast

On white

1.59
#E5CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E5CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD5A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD5A#FFFFFF#000000##000000
##E5CD5A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84D
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#F6BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd5a;
/* rgb */ color: rgb(229, 205, 90);
/* oklch */ color: oklch(84.7% 0.136 97.6);
Tailwind
colors: {
  custom: {
    50: '#f0dc8d',
    500: '#e5cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd5a;
$custom-light: #f0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd5a",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 49.64,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84668,
    "c": 0.13648,
    "h": 97.6
  },
  "luminance": 0.61059
}

Semantic roles & 50–950 ramp

primary
#E5CD5A
secondary
#384CAB
accent
#33D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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