#E4CA5A#E4CA5A

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

Color values

HEX#E4CA5A
RGBrgb(228, 202, 90)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 11.4%, 60.5%, 10.6%)
CIE-LABlab(81.55, -3.92, 57.91)
CIE-LCHlch(81.55, 58.04, 93.87°)
OKLaboklab(83.97% -0.0147 0.1332)
OKLCHoklch(83.97% 0.134 96.3)
XYZxyz(54.9632, 59.4758, 18.2557)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA5A #5A74E4
analogous
#E4855A #E4CA5A #B9E45A
triadic
#E4CA5A #5AE4CA #CA5AE4
tetradic
#E4CA5A #5AE485 #5A74E4 #E45AB9
square
#E4CA5A #5AE485 #5A74E4 #E45AB9
split-complementary
#E4CA5A #5AB9E4 #855AE4
monochromatic
#A88E1C #DBB925 #E4CA5A #EDDB8F #F5ECC3

Accessibility & contrast

On white

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

On black

12.89
#E4CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA5A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA5A#FFFFFF#000000##000000
##E4CA5A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4ca5a;
/* rgb */ color: rgb(228, 202, 90);
/* oklch */ color: oklch(84.0% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#f0d98d',
    500: '#e4ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca5a;
$custom-light: #f0d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca5a",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 48.696,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83967,
    "c": 0.13404,
    "h": 96.3
  },
  "luminance": 0.59473
}

Semantic roles & 50–950 ramp

primary
#E4CA5A
secondary
#384EAA
accent
#36D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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