#E2C159#E2C159

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

Color values

HEX#E2C159
RGBrgb(226, 193, 89)
HSLhsl(46, 70%, 62%)
HSVhsv(46, 61%, 89%)
CMYKcmyk(0%, 14.6%, 60.6%, 11.4%)
CIE-LABlab(79.06, -0.18, 55.53)
CIE-LCHlch(79.06, 55.53, 90.18°)
OKLaboklab(81.95% -0.0039 0.1281)
OKLCHoklch(81.95% 0.128 91.7)
XYZxyz(52.2396, 55.0327, 17.3200)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C159 #597AE2
analogous
#E27D59 #E2C159 #BFE259
triadic
#E2C159 #59E2C1 #C159E2
tetradic
#E2C159 #59E27D #597AE2 #E259BF
square
#E2C159 #59E27D #597AE2 #E259BF
split-complementary
#E2C159 #59BFE2 #7D59E2
monochromatic
#A4831D #D8AD26 #E2C159 #EBD48D #F4E8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C159#FFFFFF#000000##000000
##E2C1591.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)
#D4BE4E
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#F3B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c159;
/* rgb */ color: rgb(226, 193, 89);
/* oklch */ color: oklch(82.0% 0.128 91.7);
Tailwind
colors: {
  custom: {
    50: '#eed38b',
    500: '#e2c159',
    950: '#000000',
  },
}
SCSS
$custom: #e2c159;
$custom-light: #eed38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c159",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 45.547,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.12813,
    "h": 91.7
  },
  "luminance": 0.5503
}

Semantic roles & 50–950 ramp

primary
#E2C159
secondary
#3953A6
accent
#41D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C159

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

Preview Lab → · Contrast checker → · Palette generator →

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