#E8CA54#E8CA54

#E8CA54 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.3% C 0.139 H 94.9°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#E8CA54
RGBrgb(232, 202, 84)
HSLhsl(48, 76%, 62%)
HSVhsv(48, 64%, 91%)
CMYKcmyk(0%, 12.9%, 63.8%, 9%)
CIE-LABlab(81.86, -2.64, 60.98)
CIE-LCHlch(81.86, 61.03, 92.48°)
OKLaboklab(84.28% -0.0119 0.1388)
OKLCHoklch(84.28% 0.139 94.9)
XYZxyz(56.0021, 60.0398, 17.0248)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA54 #5472E8
analogous
#E88054 #E8CA54 #BCE854
triadic
#E8CA54 #54E8CA #CA54E8
tetradic
#E8CA54 #54E880 #5472E8 #E854BC
square
#E8CA54 #54E880 #5472E8 #E854BC
split-complementary
#E8CA54 #54BCE8 #8054E8
monochromatic
#AB8D17 #E1B91E #E8CA54 #EFDB8A #F7EBC0

Accessibility & contrast

On white

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

On black

13.01
#E8CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA54
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA54#FFFFFF#000000##000000
##E8CA541.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#FABBB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e8ca54;
/* rgb */ color: rgb(232, 202, 84);
/* oklch */ color: oklch(84.3% 0.139 94.9);
Tailwind
colors: {
  custom: {
    50: '#f3d989',
    500: '#e8ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca54;
$custom-light: #f3d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca54",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 47.838,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84278,
    "c": 0.13933,
    "h": 94.9
  },
  "luminance": 0.60037
}

Semantic roles & 50–950 ramp

primary
#E8CA54
secondary
#344DAC
accent
#36D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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