#E2C15D#E2C15D

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

Color values

HEX#E2C15D
RGBrgb(226, 193, 93)
HSLhsl(45, 70%, 63%)
HSVhsv(45, 59%, 89%)
CMYKcmyk(0%, 14.6%, 58.8%, 11.4%)
CIE-LABlab(79.10, 0.10, 53.74)
CIE-LCHlch(79.10, 53.74, 89.89°)
OKLaboklab(82% -0.0026 0.1247)
OKLCHoklch(82% 0.125 91.2)
XYZxyz(52.4121, 55.1017, 18.2288)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C15D #5D7EE2
analogous
#E27F5D #E2C15D #C0E25D
triadic
#E2C15D #5DE2C1 #C15DE2
tetradic
#E2C15D #5DE27F #5D7EE2 #E25DC0
square
#E2C15D #5DE27F #5D7EE2 #E25DC0
split-complementary
#E2C15D #5DC0E2 #7F5DE2
monochromatic
#A7851E #D9AD29 #E2C15D #EBD591 #F5E9C5

Accessibility & contrast

On white

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

On black

12.02
#E2C15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C15D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C15D#FFFFFF#000000##000000
##E2C15D1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE53
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#F3B3AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c15d;
/* rgb */ color: rgb(226, 193, 93);
/* oklch */ color: oklch(82.0% 0.125 91.2);
Tailwind
colors: {
  custom: {
    50: '#eed38e',
    500: '#e2c15d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c15d;
$custom-light: #eed38e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c15d",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 45.113,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81996,
    "c": 0.12474,
    "h": 91.2
  },
  "luminance": 0.55099
}

Semantic roles & 50–950 ramp

primary
#E2C15D
secondary
#3A56A9
accent
#43D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C15D

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

Preview Lab → · Contrast checker → · Palette generator →

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