#E4CA5D#E4CA5D

#E4CA5D is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.132 H 96.0°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#E4CA5D
RGBrgb(228, 202, 93)
HSLhsl(48, 71%, 63%)
HSVhsv(48, 59%, 89%)
CMYKcmyk(0%, 11.4%, 59.2%, 10.6%)
CIE-LABlab(81.58, -3.71, 56.59)
CIE-LCHlch(81.58, 56.72, 93.76°)
OKLaboklab(84% -0.0137 0.1308)
OKLCHoklch(84% 0.132 96)
XYZxyz(55.0935, 59.5279, 18.9419)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA5D #5D77E4
analogous
#E4865D #E4CA5D #BBE45D
triadic
#E4CA5D #5DE4CA #CA5DE4
tetradic
#E4CA5D #5DE486 #5D77E4 #E45DBB
square
#E4CA5D #5DE486 #5D77E4 #E45DBB
split-complementary
#E4CA5D #5DBBE4 #865DE4
monochromatic
#AA8F1C #DBB929 #E4CA5D #EDDB91 #F5ECC6

Accessibility & contrast

On white

1.63
#E4CA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#E4CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA5D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA5D#FFFFFF#000000##000000
##E4CA5D1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#F5BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4ca5d;
/* rgb */ color: rgb(228, 202, 93);
/* oklch */ color: oklch(84.0% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#efd98f',
    500: '#e4ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca5d;
$custom-light: #efd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca5d",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 48.444,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83999,
    "c": 0.13152,
    "h": 96
  },
  "luminance": 0.59525
}

Semantic roles & 50–950 ramp

primary
#E4CA5D
secondary
#394FAC
accent
#37D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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