#E2C15B#E2C15B

#E2C15B is a light, vivid yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.126 H 91.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#E2C15B
RGBrgb(226, 193, 91)
HSLhsl(45, 70%, 62%)
HSVhsv(45, 60%, 89%)
CMYKcmyk(0%, 14.6%, 59.7%, 11.4%)
CIE-LABlab(79.08, -0.04, 54.64)
CIE-LCHlch(79.08, 54.64, 90.04°)
OKLaboklab(81.97% -0.0032 0.1264)
OKLCHoklch(81.97% 0.126 91.5)
XYZxyz(52.3247, 55.0667, 17.7684)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C15B #5B7CE2
analogous
#E27D5B #E2C15B #C0E25B
triadic
#E2C15B #5BE2C1 #C15BE2
tetradic
#E2C15B #5BE27D #5B7CE2 #E25BC0
square
#E2C15B #5BE27D #5B7CE2 #E25BC0
split-complementary
#E2C15B #5BC0E2 #7D5BE2
monochromatic
#A5841D #D9AD27 #E2C15B #EBD58F #F4E8C3

Accessibility & contrast

On white

1.75
#E2C15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#E2C15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C15B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C15B#FFFFFF#000000##000000
##E2C15B1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE51
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#F3B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c15b;
/* rgb */ color: rgb(226, 193, 91);
/* oklch */ color: oklch(82.0% 0.126 91.5);
Tailwind
colors: {
  custom: {
    50: '#eed38d',
    500: '#e2c15b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c15b;
$custom-light: #eed38d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c15b",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 45.333,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.12645,
    "h": 91.5
  },
  "luminance": 0.55064
}

Semantic roles & 50–950 ramp

primary
#E2C15B
secondary
#3954A8
accent
#42D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C15B

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

Preview Lab → · Contrast checker → · Palette generator →

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