#E2CA54#E2CA54

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

Color values

HEX#E2CA54
RGBrgb(226, 202, 84)
HSLhsl(50, 71%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 10.6%, 62.8%, 11.4%)
CIE-LABlab(81.32, -5.15, 60.24)
CIE-LCHlch(81.32, 60.46, 94.88°)
OKLaboklab(83.72% -0.0188 0.1374)
OKLCHoklch(83.72% 0.139 97.8)
XYZxyz(54.0871, 59.0524, 16.9351)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA54 #546CE2
analogous
#E28354 #E2CA54 #B3E254
triadic
#E2CA54 #54E2CA #CA54E2
tetradic
#E2CA54 #54E283 #546CE2 #E254B3
square
#E2CA54 #54E283 #546CE2 #E254B3
split-complementary
#E2CA54 #54B3E2 #8354E2
monochromatic
#A08A1B #D5B724 #E2CA54 #EBDA88 #F4EABD

Accessibility & contrast

On white

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

On black

12.81
#E2CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA54
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA54#FFFFFF#000000##000000
##E2CA541.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ca54;
/* rgb */ color: rgb(226, 202, 84);
/* oklch */ color: oklch(83.7% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#eed989',
    500: '#e2ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca54;
$custom-light: #eed989;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca54",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 49.859,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83724,
    "c": 0.1387,
    "h": 97.8
  },
  "luminance": 0.5905
}

Semantic roles & 50–950 ramp

primary
#E2CA54
secondary
#3749A3
accent
#33D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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