#E2C059#E2C059

#E2C059 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.8% C 0.127 H 91.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#E2C059
RGBrgb(226, 192, 89)
HSLhsl(45, 70%, 62%)
HSVhsv(45, 61%, 89%)
CMYKcmyk(0%, 15%, 60.6%, 11.4%)
CIE-LABlab(78.81, 0.34, 55.25)
CIE-LCHlch(78.81, 55.25, 89.64°)
OKLaboklab(81.75% -0.0024 0.1275)
OKLCHoklch(81.75% 0.127 91.1)
XYZxyz(52.0192, 54.5921, 17.2466)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C059 #597BE2
analogous
#E27C59 #E2C059 #C0E259
triadic
#E2C059 #59E2C0 #C059E2
tetradic
#E2C059 #59E27C #597BE2 #E259C0
square
#E2C059 #59E27C #597BE2 #E259C0
split-complementary
#E2C059 #59C0E2 #7C59E2
monochromatic
#A4821D #D8AC26 #E2C059 #EBD48D #F4E8C1

Accessibility & contrast

On white

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

On black

11.92
#E2C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C059
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C059#FFFFFF#000000##000000
##E2C0591.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c059;
/* rgb */ color: rgb(226, 192, 89);
/* oklch */ color: oklch(81.8% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#eed28b',
    500: '#e2c059',
    950: '#000000',
  },
}
SCSS
$custom: #e2c059;
$custom-light: #eed28b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c059",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 45.109,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.12748,
    "h": 91.1
  },
  "luminance": 0.54589
}

Semantic roles & 50–950 ramp

primary
#E2C059
secondary
#3954A6
accent
#43D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C059

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

Preview Lab → · Contrast checker → · Palette generator →

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