#E8CA5C#E8CA5C

#E8CA5C is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.133 H 94.1°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#E8CA5C
RGBrgb(232, 202, 92)
HSLhsl(47, 75%, 64%)
HSVhsv(47, 60%, 91%)
CMYKcmyk(0%, 12.9%, 60.3%, 9%)
CIE-LABlab(81.93, -2.12, 57.54)
CIE-LCHlch(81.93, 57.58, 92.11°)
OKLaboklab(84.36% -0.0095 0.1326)
OKLCHoklch(84.36% 0.133 94.1)
XYZxyz(56.3335, 60.1724, 18.7703)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA5C #5C7AE8
analogous
#E8845C #E8CA5C #C0E85C
triadic
#E8CA5C #5CE8CA #CA5CE8
tetradic
#E8CA5C #5CE884 #5C7AE8 #E85CC0
square
#E8CA5C #5CE884 #5C7AE8 #E85CC0
split-complementary
#E8CA5C #5CC0E8 #845CE8
monochromatic
#B19019 #E0B926 #E8CA5C #F0DB92 #F7EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CA5C#FFFFFF#000000##000000
##E8CA5C1.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)
#DDC650
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#F9BCB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca5c;
/* rgb */ color: rgb(232, 202, 92);
/* oklch */ color: oklch(84.4% 0.133 94.1);
Tailwind
colors: {
  custom: {
    50: '#f2d98e',
    500: '#e8ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca5c;
$custom-light: #f2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca5c",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 47.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84358,
    "c": 0.13294,
    "h": 94.1
  },
  "luminance": 0.6017
}

Semantic roles & 50–950 ramp

primary
#E8CA5C
secondary
#3751B1
accent
#39D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E8CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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