#E2CA5B#E2CA5B

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

Color values

HEX#E2CA5B
RGBrgb(226, 202, 91)
HSLhsl(49, 70%, 62%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 10.6%, 59.7%, 11.4%)
CIE-LABlab(81.38, -4.68, 57.23)
CIE-LCHlch(81.38, 57.42, 94.68°)
OKLaboklab(83.79% -0.0167 0.132)
OKLCHoklch(83.79% 0.133 97.2)
XYZxyz(54.3751, 59.1676, 18.4518)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA5B #5B73E2
analogous
#E2865B #E2CA5B #B7E25B
triadic
#E2CA5B #5BE2CA #CA5BE2
tetradic
#E2CA5B #5BE286 #5B73E2 #E25BB7
square
#E2CA5B #5BE286 #5B73E2 #E25BB7
split-complementary
#E2CA5B #5BB7E2 #865BE2
monochromatic
#A58D1D #D9B927 #E2CA5B #EBDB8F #F4ECC3

Accessibility & contrast

On white

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

On black

12.83
#E2CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA5B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA5B#FFFFFF#000000##000000
##E2CA5B1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64F
Deuteranopia (green-blind)
#E2CE60
Tritanopia (blue-blind)
#F2BCB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca5b;
/* rgb */ color: rgb(226, 202, 91);
/* oklch */ color: oklch(83.8% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#eed98d',
    500: '#e2ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca5b;
$custom-light: #eed98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca5b",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 49.333,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83794,
    "c": 0.133,
    "h": 97.2
  },
  "luminance": 0.59165
}

Semantic roles & 50–950 ramp

primary
#E2CA5B
secondary
#394DA8
accent
#35D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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