#E8CA56#E8CA56

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

Color values

HEX#E8CA56
RGBrgb(232, 202, 86)
HSLhsl(48, 76%, 62%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 12.9%, 62.9%, 9%)
CIE-LABlab(81.88, -2.51, 60.13)
CIE-LCHlch(81.88, 60.18, 92.39°)
OKLaboklab(84.3% -0.0114 0.1373)
OKLCHoklch(84.3% 0.138 94.7)
XYZxyz(56.0815, 60.0716, 17.4433)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA56 #5674E8
analogous
#E88156 #E8CA56 #BDE856
triadic
#E8CA56 #56E8CA #CA56E8
tetradic
#E8CA56 #56E881 #5674E8 #E856BD
square
#E8CA56 #56E881 #5674E8 #E856BD
split-complementary
#E8CA56 #56BDE8 #8156E8
monochromatic
#AC8E17 #E1B920 #E8CA56 #EFDB8C #F7ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CA56#FFFFFF#000000##000000
##E8CA561.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)
#DDC649
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#F9BCB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca56;
/* rgb */ color: rgb(232, 202, 86);
/* oklch */ color: oklch(84.3% 0.138 94.7);
Tailwind
colors: {
  custom: {
    50: '#f3d98a',
    500: '#e8ca56',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca56;
$custom-light: #f3d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca56",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 47.671,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84297,
    "c": 0.13779,
    "h": 94.7
  },
  "luminance": 0.60069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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