#E8CA5A#E8CA5A

#E8CA5A is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.3% C 0.135 H 94.3°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#E8CA5A
RGBrgb(232, 202, 90)
HSLhsl(47, 76%, 63%)
HSVhsv(47, 61%, 91%)
CMYKcmyk(0%, 12.9%, 61.2%, 9%)
CIE-LABlab(81.91, -2.26, 58.41)
CIE-LCHlch(81.91, 58.45, 92.21°)
OKLaboklab(84.34% -0.0101 0.1342)
OKLCHoklch(84.34% 0.135 94.3)
XYZxyz(56.2472, 60.1379, 18.3159)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA5A #5A78E8
analogous
#E8835A #E8CA5A #BFE85A
triadic
#E8CA5A #5AE8CA #CA5AE8
tetradic
#E8CA5A #5AE883 #5A78E8 #E85ABF
square
#E8CA5A #5AE883 #5A78E8 #E85ABF
split-complementary
#E8CA5A #5ABFE8 #835AE8
monochromatic
#AF8F18 #E1B924 #E8CA5A #EFDB90 #F7EDC5

Accessibility & contrast

On white

1.61
#E8CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#E8CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA5A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA5A#FFFFFF#000000##000000
##E8CA5A1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F9BCB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca5a;
/* rgb */ color: rgb(232, 202, 90);
/* oklch */ color: oklch(84.3% 0.135 94.3);
Tailwind
colors: {
  custom: {
    50: '#f3d98d',
    500: '#e8ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca5a;
$custom-light: #f3d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca5a",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 47.324,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84337,
    "c": 0.13458,
    "h": 94.3
  },
  "luminance": 0.60135
}

Semantic roles & 50–950 ramp

primary
#E8CA5A
secondary
#3650B0
accent
#38D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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