#E4CA4E#E4CA4E

#E4CA4E is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.143 H 97.3°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#E4CA4E
RGBrgb(228, 202, 78)
HSLhsl(50, 74%, 60%)
HSVhsv(50, 66%, 89%)
CMYKcmyk(0%, 11.4%, 65.8%, 10.6%)
CIE-LABlab(81.45, -4.67, 62.96)
CIE-LCHlch(81.45, 63.14, 94.24°)
OKLaboklab(83.85% -0.0182 0.1422)
OKLCHoklch(83.85% 0.143 97.3)
XYZxyz(54.4931, 59.2877, 15.7796)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CA4E #4E68E4
analogous
#E47F4E #E4CA4E #B3E44E
triadic
#E4CA4E #4EE4CA #CA4EE4
tetradic
#E4CA4E #4EE47F #4E68E4 #E44EB3
square
#E4CA4E #4EE47F #4E68E4 #E44EB3
split-complementary
#E4CA4E #4EB3E4 #7F4EE4
monochromatic
#9F8818 #D4B520 #E4CA4E #ECDA83 #F4EAB8

Accessibility & contrast

On white

1.63
#E4CA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#E4CA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CA4E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CA4E#FFFFFF#000000##000000
##E4CA4E1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#F5BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4ca4e;
/* rgb */ color: rgb(228, 202, 78);
/* oklch */ color: oklch(83.9% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#f0d985',
    500: '#e4ca4e',
    950: '#000000',
  },
}
SCSS
$custom: #e4ca4e;
$custom-light: #f0d985;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ca4e",
  "rgb": {
    "r": 228,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 49.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.83853,
    "c": 0.1434,
    "h": 97.3
  },
  "luminance": 0.59285
}

Semantic roles & 50–950 ramp

primary
#E4CA4E
secondary
#3447A2
accent
#58F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4CA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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