#E8CA4F#E8CA4F

#E8CA4F is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.143 H 95.4°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#E8CA4F
RGBrgb(232, 202, 79)
HSLhsl(48, 77%, 61%)
HSVhsv(48, 66%, 91%)
CMYKcmyk(0%, 12.9%, 65.9%, 9%)
CIE-LABlab(81.82, -2.93, 63.05)
CIE-LCHlch(81.82, 63.12, 92.66°)
OKLaboklab(84.23% -0.0134 0.1425)
OKLCHoklch(84.23% 0.143 95.4)
XYZxyz(55.8132, 59.9642, 16.0300)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA4F #4F6DE8
analogous
#E87D4F #E8CA4F #B9E84F
triadic
#E8CA4F #4FE8CA #CA4FE8
tetradic
#E8CA4F #4FE87D #4F6DE8 #E84FB9
square
#E8CA4F #4FE87D #4F6DE8 #E84FB9
split-complementary
#E8CA4F #4FB9E8 #7D4FE8
monochromatic
#A78A16 #DDB71D #E8CA4F #EFDA85 #F6EBBB

Accessibility & contrast

On white

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

On black

12.99
#E8CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA4F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA4F#FFFFFF#000000##000000
##E8CA4F1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8ca4f;
/* rgb */ color: rgb(232, 202, 79);
/* oklch */ color: oklch(84.2% 0.143 95.4);
Tailwind
colors: {
  custom: {
    50: '#f3d986',
    500: '#e8ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca4f;
$custom-light: #f3d986;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca4f",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 48.235,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84232,
    "c": 0.14308,
    "h": 95.4
  },
  "luminance": 0.59961
}

Semantic roles & 50–950 ramp

primary
#E8CA4F
secondary
#334AA9
accent
#35D90C
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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