#E3CA4C#E3CA4C

#E3CA4C is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.145 H 97.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E3CA4C
RGBrgb(227, 202, 76)
HSLhsl(50, 73%, 59%)
HSVhsv(50, 67%, 89%)
CMYKcmyk(0%, 11%, 66.5%, 11%)
CIE-LABlab(81.34, -5.20, 63.65)
CIE-LCHlch(81.34, 63.86, 94.67°)
OKLaboklab(83.74% -0.0199 0.1434)
OKLCHoklch(83.74% 0.145 97.9)
XYZxyz(54.1061, 59.0964, 15.3929)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3CA4C #4C65E3
analogous
#E37F4C #E3CA4C #B1E34C
triadic
#E3CA4C #4CE3CA #CA4CE3
tetradic
#E3CA4C #4CE37F #4C65E3 #E34CB1
square
#E3CA4C #4CE37F #4C65E3 #E34CB1
split-complementary
#E3CA4C #4CB1E3 #7F4CE3
monochromatic
#9C8618 #D1B421 #E3CA4C #EBDA81 #F4E9B6

Accessibility & contrast

On white

1.64
#E3CA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#E3CA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3CA4C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3CA4C#FFFFFF#000000##000000
##E3CA4C1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53C
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#F4BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e3ca4c;
/* rgb */ color: rgb(227, 202, 76);
/* oklch */ color: oklch(83.7% 0.145 97.9);
Tailwind
colors: {
  custom: {
    50: '#efd984',
    500: '#e3ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #e3ca4c;
$custom-light: #efd984;
$custom-dark: #000000;
JSON
{
  "hex": "#e3ca4c",
  "rgb": {
    "r": 227,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 50.066,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83743,
    "c": 0.14478,
    "h": 97.9
  },
  "luminance": 0.59094
}

Semantic roles & 50–950 ramp

primary
#E3CA4C
secondary
#3446A0
accent
#57F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E3CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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