#E8CA5B#E8CA5B

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

Color values

HEX#E8CA5B
RGBrgb(232, 202, 91)
HSLhsl(47, 75%, 63%)
HSVhsv(47, 61%, 91%)
CMYKcmyk(0%, 12.9%, 60.8%, 9%)
CIE-LABlab(81.92, -2.19, 57.98)
CIE-LCHlch(81.92, 58.02, 92.16°)
OKLaboklab(84.35% -0.0098 0.1334)
OKLCHoklch(84.35% 0.134 94.2)
XYZxyz(56.2901, 60.1550, 18.5416)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA5B #5B79E8
analogous
#E8835B #E8CA5B #BFE85B
triadic
#E8CA5B #5BE8CA #CA5BE8
tetradic
#E8CA5B #5BE883 #5B79E8 #E85BBF
square
#E8CA5B #5BE883 #5B79E8 #E85BBF
split-complementary
#E8CA5B #5BBFE8 #835BE8
monochromatic
#B09019 #E0B925 #E8CA5B #F0DB91 #F7EDC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CA5B#FFFFFF#000000##000000
##E8CA5B1.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)
#DDC64F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F9BCB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca5b;
/* rgb */ color: rgb(232, 202, 91);
/* oklch */ color: oklch(84.3% 0.134 94.2);
Tailwind
colors: {
  custom: {
    50: '#f2d98d',
    500: '#e8ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca5b;
$custom-light: #f2d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca5b",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 47.234,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84347,
    "c": 0.13377,
    "h": 94.2
  },
  "luminance": 0.60152
}

Semantic roles & 50–950 ramp

primary
#E8CA5B
secondary
#3751B1
accent
#39D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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