#E2C057#E2C057

#E2C057 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.129 H 91.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#E2C057
RGBrgb(226, 192, 87)
HSLhsl(45, 71%, 61%)
HSVhsv(45, 62%, 89%)
CMYKcmyk(0%, 15%, 61.5%, 11.4%)
CIE-LABlab(78.79, 0.21, 56.13)
CIE-LCHlch(78.79, 56.13, 89.79°)
OKLaboklab(81.73% -0.003 0.1291)
OKLCHoklch(81.73% 0.129 91.3)
XYZxyz(51.9364, 54.5589, 16.8103)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C057 #5779E2
analogous
#E27B57 #E2C057 #BEE257
triadic
#E2C057 #57E2C0 #C057E2
tetradic
#E2C057 #57E27B #5779E2 #E257BE
square
#E2C057 #57E27B #5779E2 #E257BE
split-complementary
#E2C057 #57BEE2 #7B57E2
monochromatic
#A3821C #D7AB25 #E2C057 #EBD48B #F4E7BF

Accessibility & contrast

On white

1.76
#E2C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#E2C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C057
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C057#FFFFFF#000000##000000
##E2C0571.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4C
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#F3B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c057;
/* rgb */ color: rgb(226, 192, 87);
/* oklch */ color: oklch(81.7% 0.129 91.3);
Tailwind
colors: {
  custom: {
    50: '#eed28a',
    500: '#e2c057',
    950: '#000000',
  },
}
SCSS
$custom: #e2c057;
$custom-light: #eed28a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c057",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 45.324,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81729,
    "c": 0.12913,
    "h": 91.3
  },
  "luminance": 0.54556
}

Semantic roles & 50–950 ramp

primary
#E2C057
secondary
#3853A5
accent
#42D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C057

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

Preview Lab → · Contrast checker → · Palette generator →

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