#E4CA5B#E4CA5B

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

Color values

HEX#E4CA5B
RGBrgb(228, 202, 91)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 11.4%, 60.1%, 10.6%)
CIE-LABlab(81.56, -3.85, 57.47)
CIE-LCHlch(81.56, 57.60, 93.84°)
OKLaboklab(83.98% -0.0144 0.1324)
OKLCHoklch(83.98% 0.133 96.2)
XYZxyz(55.0061, 59.4929, 18.4814)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA5B #5B75E4
analogous
#E4855B #E4CA5B #BAE45B
triadic
#E4CA5B #5BE4CA #CA5BE4
tetradic
#E4CA5B #5BE485 #5B75E4 #E45BBA
square
#E4CA5B #5BE485 #5B75E4 #E45BBA
split-complementary
#E4CA5B #5BBAE4 #855BE4
monochromatic
#A98E1C #DBB926 #E4CA5B #EDDB90 #F5ECC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CA5B#FFFFFF#000000##000000
##E4CA5B1.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)
#DCC64F
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#F5BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4ca5b;
/* rgb */ color: rgb(228, 202, 91);
/* oklch */ color: oklch(84.0% 0.133 96.2);
Tailwind
colors: {
  custom: {
    50: '#f0d98d',
    500: '#e4ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca5b;
$custom-light: #f0d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca5b",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 48.613,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83977,
    "c": 0.13321,
    "h": 96.2
  },
  "luminance": 0.5949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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