#E2C156#E2C156

#E2C156 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.131 H 92.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#E2C156
RGBrgb(226, 193, 86)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.6%, 61.9%, 11.4%)
CIE-LABlab(79.03, -0.38, 56.85)
CIE-LCHlch(79.03, 56.86, 90.38°)
OKLaboklab(81.92% -0.0048 0.1305)
OKLCHoklch(81.92% 0.131 92.1)
XYZxyz(52.1161, 54.9833, 16.6700)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C156 #5677E2
analogous
#E27B56 #E2C156 #BDE256
triadic
#E2C156 #56E2C1 #C156E2
tetradic
#E2C156 #56E27B #5677E2 #E256BD
square
#E2C156 #56E27B #5677E2 #E256BD
split-complementary
#E2C156 #56BDE2 #7B56E2
monochromatic
#A2821C #D6AC25 #E2C156 #EBD48A #F4E7BE

Accessibility & contrast

On white

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

On black

12.00
#E2C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C156
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C156#FFFFFF#000000##000000
##E2C1561.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c156;
/* rgb */ color: rgb(226, 193, 86);
/* oklch */ color: oklch(81.9% 0.131 92.1);
Tailwind
colors: {
  custom: {
    50: '#eed38a',
    500: '#e2c156',
    950: '#000000',
  },
}
SCSS
$custom: #e2c156;
$custom-light: #eed38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c156",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 45.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.13059,
    "h": 92.1
  },
  "luminance": 0.54981
}

Semantic roles & 50–950 ramp

primary
#E2C156
secondary
#3851A5
accent
#40D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C156

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

Preview Lab → · Contrast checker → · Palette generator →

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