#E8CA4B#E8CA4B

#E8CA4B is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.146 H 95.7°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#E8CA4B
RGBrgb(232, 202, 75)
HSLhsl(49, 77%, 60%)
HSVhsv(49, 68%, 91%)
CMYKcmyk(0%, 12.9%, 67.7%, 9%)
CIE-LABlab(81.79, -3.15, 64.65)
CIE-LCHlch(81.79, 64.73, 92.79°)
OKLaboklab(84.2% -0.0145 0.1452)
OKLCHoklch(84.2% 0.146 95.7)
XYZxyz(55.6719, 59.9077, 15.2862)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA4B #4B69E8
analogous
#E87B4B #E8CA4B #B7E84B
triadic
#E8CA4B #4BE8CA #CA4BE8
tetradic
#E8CA4B #4BE87B #4B69E8 #E84BB7
square
#E8CA4B #4BE87B #4B69E8 #E84BB7
split-complementary
#E8CA4B #4BB7E8 #7B4BE8
monochromatic
#A48815 #DAB61C #E8CA4B #EFDA81 #F6EAB8

Accessibility & contrast

On white

1.62
#E8CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#E8CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA4B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA4B#FFFFFF#000000##000000
##E8CA4B1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E6CF52
Tritanopia (blue-blind)
#FABBB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e8ca4b;
/* rgb */ color: rgb(232, 202, 75);
/* oklch */ color: oklch(84.2% 0.146 95.7);
Tailwind
colors: {
  custom: {
    50: '#f3d984',
    500: '#e8ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca4b;
$custom-light: #f3d984;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca4b",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 48.535,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84198,
    "c": 0.14593,
    "h": 95.7
  },
  "luminance": 0.59905
}

Semantic roles & 50–950 ramp

primary
#E8CA4B
secondary
#3148A6
accent
#33DA0C
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E8CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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