#E2C155#E2C155

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

Color values

HEX#E2C155
RGBrgb(226, 193, 85)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.6%, 62.4%, 11.4%)
CIE-LABlab(79.02, -0.44, 57.29)
CIE-LCHlch(79.02, 57.29, 90.44°)
OKLaboklab(81.91% -0.0051 0.1313)
OKLCHoklch(81.91% 0.131 92.2)
XYZxyz(52.0761, 54.9673, 16.4593)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C155 #5576E2
analogous
#E27A55 #E2C155 #BDE255
triadic
#E2C155 #55E2C1 #C155E2
tetradic
#E2C155 #55E27A #5576E2 #E255BD
square
#E2C155 #55E27A #5576E2 #E255BD
split-complementary
#E2C155 #55BDE2 #7A55E2
monochromatic
#A1821B #D5AC24 #E2C155 #EBD489 #F4E7BE

Accessibility & contrast

On white

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

On black

11.99
#E2C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C155
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C155#FFFFFF#000000##000000
##E2C1551.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c155;
/* rgb */ color: rgb(226, 193, 85);
/* oklch */ color: oklch(81.9% 0.131 92.2);
Tailwind
colors: {
  custom: {
    50: '#eed389',
    500: '#e2c155',
    950: '#000000',
  },
}
SCSS
$custom: #e2c155;
$custom-light: #eed389;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c155",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 45.957,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8191,
    "c": 0.13139,
    "h": 92.2
  },
  "luminance": 0.54965
}

Semantic roles & 50–950 ramp

primary
#E2C155
secondary
#3751A4
accent
#40D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C155

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

Preview Lab → · Contrast checker → · Palette generator →

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