#E4CA5C#E4CA5C

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

Color values

HEX#E4CA5C
RGBrgb(228, 202, 92)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 11.4%, 59.6%, 10.6%)
CIE-LABlab(81.57, -3.78, 57.04)
CIE-LCHlch(81.57, 57.16, 93.80°)
OKLaboklab(83.99% -0.0141 0.1316)
OKLCHoklch(83.99% 0.132 96.1)
XYZxyz(55.0495, 59.5103, 18.7101)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA5C #5C76E4
analogous
#E4865C #E4CA5C #BAE45C
triadic
#E4CA5C #5CE4CA #CA5CE4
tetradic
#E4CA5C #5CE486 #5C76E4 #E45CBA
square
#E4CA5C #5CE486 #5C76E4 #E45CBA
split-complementary
#E4CA5C #5CBAE4 #865CE4
monochromatic
#AA8E1C #DBB927 #E4CA5C #EDDB91 #F5ECC5

Accessibility & contrast

On white

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

On black

12.90
#E4CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA5C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA5C#FFFFFF#000000##000000
##E4CA5C1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4ca5c;
/* rgb */ color: rgb(228, 202, 92);
/* oklch */ color: oklch(84.0% 0.132 96.1);
Tailwind
colors: {
  custom: {
    50: '#efd98e',
    500: '#e4ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca5c;
$custom-light: #efd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca5c",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 48.529,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83988,
    "c": 0.13237,
    "h": 96.1
  },
  "luminance": 0.59508
}

Semantic roles & 50–950 ramp

primary
#E4CA5C
secondary
#394FAB
accent
#37D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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