#E2CA55#E2CA55

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

Color values

HEX#E2CA55
RGBrgb(226, 202, 85)
HSLhsl(50, 71%, 61%)
HSVhsv(50, 62%, 89%)
CMYKcmyk(0%, 10.6%, 62.4%, 11.4%)
CIE-LABlab(81.33, -5.08, 59.81)
CIE-LCHlch(81.33, 60.03, 94.86°)
OKLaboklab(83.73% -0.0185 0.1367)
OKLCHoklch(83.73% 0.138 97.7)
XYZxyz(54.1266, 59.0682, 17.1428)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA55 #556DE2
analogous
#E28355 #E2CA55 #B3E255
triadic
#E2CA55 #55E2CA #CA55E2
tetradic
#E2CA55 #55E283 #556DE2 #E255B3
square
#E2CA55 #55E283 #556DE2 #E255B3
split-complementary
#E2CA55 #55B3E2 #8355E2
monochromatic
#A18A1B #D5B724 #E2CA55 #EBDA89 #F4EBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA55#FFFFFF#000000##000000
##E2CA551.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)
#DCC548
Deuteranopia (green-blind)
#E3CE5B
Tritanopia (blue-blind)
#F3BCB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca55;
/* rgb */ color: rgb(226, 202, 85);
/* oklch */ color: oklch(83.7% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#eed98a',
    500: '#e2ca55',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca55;
$custom-light: #eed98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca55",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 49.787,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83734,
    "c": 0.13791,
    "h": 97.7
  },
  "luminance": 0.59066
}

Semantic roles & 50–950 ramp

primary
#E2CA55
secondary
#374AA4
accent
#33D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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