#E2C859#E2C859

#E2C859 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.133 H 96.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E2C859
RGBrgb(226, 200, 89)
HSLhsl(49, 70%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 11.5%, 60.6%, 11.4%)
CIE-LABlab(80.85, -3.79, 57.53)
CIE-LCHlch(80.85, 57.65, 93.77°)
OKLaboklab(83.37% -0.0143 0.1323)
OKLCHoklch(83.37% 0.133 96.2)
XYZxyz(53.8238, 58.2011, 17.8481)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C859 #5973E2
analogous
#E28459 #E2C859 #B8E259
triadic
#E2C859 #59E2C8 #C859E2
tetradic
#E2C859 #59E284 #5973E2 #E259B8
square
#E2C859 #59E284 #5973E2 #E259B8
split-complementary
#E2C859 #59B8E2 #8459E2
monochromatic
#A48A1D #D8B626 #E2C859 #EBD98D #F4EBC1

Accessibility & contrast

On white

1.66
#E2C859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#E2C859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C859
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C859#FFFFFF#000000##000000
##E2C8591.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44D
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#F3BAB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c859;
/* rgb */ color: rgb(226, 200, 89);
/* oklch */ color: oklch(83.4% 0.133 96.2);
Tailwind
colors: {
  custom: {
    50: '#eed88c',
    500: '#e2c859',
    950: '#000000',
  },
}
SCSS
$custom: #e2c859;
$custom-light: #eed88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c859",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 48.613,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83366,
    "c": 0.1331,
    "h": 96.2
  },
  "luminance": 0.58199
}

Semantic roles & 50–950 ramp

primary
#E2C859
secondary
#394EA6
accent
#37D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C859

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

Preview Lab → · Contrast checker → · Palette generator →

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