#E2CA5D#E2CA5D

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

Color values

HEX#E2CA5D
RGBrgb(226, 202, 93)
HSLhsl(49, 70%, 63%)
HSVhsv(49, 59%, 89%)
CMYKcmyk(0%, 10.6%, 58.8%, 11.4%)
CIE-LABlab(81.40, -4.55, 56.35)
CIE-LCHlch(81.40, 56.53, 94.61°)
OKLaboklab(83.82% -0.016 0.1303)
OKLCHoklch(83.82% 0.131 97)
XYZxyz(54.4625, 59.2026, 18.9123)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA5D #5D75E2
analogous
#E2875D #E2CA5D #B7E25D
triadic
#E2CA5D #5DE2CA #CA5DE2
tetradic
#E2CA5D #5DE287 #5D75E2 #E25DB7
square
#E2CA5D #5DE287 #5D75E2 #E25DB7
split-complementary
#E2CA5D #5DB7E2 #875DE2
monochromatic
#A78E1E #D9B929 #E2CA5D #EBDB91 #F5ECC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA5D#FFFFFF#000000##000000
##E2CA5D1.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)
#DCC652
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#F2BDB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca5d;
/* rgb */ color: rgb(226, 202, 93);
/* oklch */ color: oklch(83.8% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#eed98e',
    500: '#e2ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca5d;
$custom-light: #eed98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca5d",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 49.173,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83816,
    "c": 0.1313,
    "h": 97
  },
  "luminance": 0.592
}

Semantic roles & 50–950 ramp

primary
#E2CA5D
secondary
#3A4EA9
accent
#36D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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