#E5CA5B#E5CA5B

#E5CA5B is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.133 H 95.7°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#E5CA5B
RGBrgb(229, 202, 91)
HSLhsl(48, 73%, 63%)
HSVhsv(48, 60%, 90%)
CMYKcmyk(0%, 11.8%, 60.3%, 10.2%)
CIE-LABlab(81.65, -3.44, 57.60)
CIE-LCHlch(81.65, 57.70, 93.42°)
OKLaboklab(84.07% -0.0132 0.1327)
OKLCHoklch(84.07% 0.133 95.7)
XYZxyz(55.3243, 59.6570, 18.4963)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA5B #5B76E5
analogous
#E5855B #E5CA5B #BBE55B
triadic
#E5CA5B #5BE5CA #CA5BE5
tetradic
#E5CA5B #5BE585 #5B76E5 #E55BBB
square
#E5CA5B #5BE585 #5B76E5 #E55BBB
split-complementary
#E5CA5B #5BBBE5 #855BE5
monochromatic
#AB8E1B #DDB926 #E5CA5B #EDDB90 #F6ECC5

Accessibility & contrast

On white

1.62
#E5CA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#E5CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CA5B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CA5B#FFFFFF#000000##000000
##E5CA5B1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64F
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#F6BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e5ca5b;
/* rgb */ color: rgb(229, 202, 91);
/* oklch */ color: oklch(84.1% 0.133 95.7);
Tailwind
colors: {
  custom: {
    50: '#f0d98d',
    500: '#e5ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca5b;
$custom-light: #f0d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca5b",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 48.261,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84069,
    "c": 0.13333,
    "h": 95.7
  },
  "luminance": 0.59654
}

Semantic roles & 50–950 ramp

primary
#E5CA5B
secondary
#384FAC
accent
#37D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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