#E8CA57#E8CA57

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

Color values

HEX#E8CA57
RGBrgb(232, 202, 87)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 12.9%, 62.5%, 9%)
CIE-LABlab(81.89, -2.45, 59.70)
CIE-LCHlch(81.89, 59.75, 92.35°)
OKLaboklab(84.31% -0.0111 0.1366)
OKLCHoklch(84.31% 0.137 94.6)
XYZxyz(56.1221, 60.0878, 17.6570)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA57 #5775E8
analogous
#E88157 #E8CA57 #BEE857
triadic
#E8CA57 #57E8CA #CA57E8
tetradic
#E8CA57 #57E881 #5775E8 #E857BE
square
#E8CA57 #57E881 #5775E8 #E857BE
split-complementary
#E8CA57 #57BEE8 #8157E8
monochromatic
#AD8E18 #E1B921 #E8CA57 #EFDB8D #F7ECC3

Accessibility & contrast

On white

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

On black

13.02
#E8CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA57
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA57#FFFFFF#000000##000000
##E8CA571.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#F9BCB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca57;
/* rgb */ color: rgb(232, 202, 87);
/* oklch */ color: oklch(84.3% 0.137 94.6);
Tailwind
colors: {
  custom: {
    50: '#f3d98b',
    500: '#e8ca57',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca57;
$custom-light: #f3d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca57",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 47.586,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84307,
    "c": 0.137,
    "h": 94.6
  },
  "luminance": 0.60085
}

Semantic roles & 50–950 ramp

primary
#E8CA57
secondary
#354EAE
accent
#37D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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