#E3CA54#E3CA54

#E3CA54 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.139 H 97.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#E3CA54
RGBrgb(227, 202, 84)
HSLhsl(50, 72%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 11%, 63%, 11%)
CIE-LABlab(81.41, -4.73, 60.36)
CIE-LCHlch(81.41, 60.54, 94.48°)
OKLaboklab(83.82% -0.0176 0.1377)
OKLCHoklch(83.82% 0.139 97.3)
XYZxyz(54.4017, 59.2146, 16.9498)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3CA54 #546DE3
analogous
#E38254 #E3CA54 #B5E354
triadic
#E3CA54 #54E3CA #CA54E3
tetradic
#E3CA54 #54E382 #546DE3 #E354B5
square
#E3CA54 #54E382 #546DE3 #E354B5
split-complementary
#E3CA54 #54B5E3 #8254E3
monochromatic
#A28A1B #D7B723 #E3CA54 #ECDA89 #F4EBBD

Accessibility & contrast

On white

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

On black

12.84
#E3CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3CA54
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3CA54#FFFFFF#000000##000000
##E3CA541.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC546
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#F4BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e3ca54;
/* rgb */ color: rgb(227, 202, 84);
/* oklch */ color: oklch(83.8% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#efd989',
    500: '#e3ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e3ca54;
$custom-light: #efd989;
$custom-dark: #000000;
JSON
{
  "hex": "#e3ca54",
  "rgb": {
    "r": 227,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 49.51,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83815,
    "c": 0.13878,
    "h": 97.3
  },
  "luminance": 0.59212
}

Semantic roles & 50–950 ramp

primary
#E3CA54
secondary
#364AA5
accent
#34D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E3CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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