#E2C459#E2C459

#E2C459 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.6% C 0.130 H 93.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#E2C459
RGBrgb(226, 196, 89)
HSLhsl(47, 70%, 62%)
HSVhsv(47, 61%, 89%)
CMYKcmyk(0%, 13.3%, 60.6%, 11.4%)
CIE-LABlab(79.83, -1.73, 56.39)
CIE-LCHlch(79.83, 56.41, 91.76°)
OKLaboklab(82.56% -0.0084 0.1299)
OKLCHoklch(82.56% 0.13 93.7)
XYZxyz(52.9095, 56.3725, 17.5433)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C459 #5977E2
analogous
#E28059 #E2C459 #BCE259
triadic
#E2C459 #59E2C4 #C459E2
tetradic
#E2C459 #59E280 #5977E2 #E259BC
square
#E2C459 #59E280 #5977E2 #E259BC
split-complementary
#E2C459 #59BCE2 #8059E2
monochromatic
#A4861D #D8B126 #E2C459 #EBD78D #F4E9C1

Accessibility & contrast

On white

1.71
#E2C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#E2C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C459
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C459#FFFFFF#000000##000000
##E2C4591.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14E
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#F3B6AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c459;
/* rgb */ color: rgb(226, 196, 89);
/* oklch */ color: oklch(82.6% 0.130 93.7);
Tailwind
colors: {
  custom: {
    50: '#eed58c',
    500: '#e2c459',
    950: '#000000',
  },
}
SCSS
$custom: #e2c459;
$custom-light: #eed58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c459",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 46.861,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82556,
    "c": 0.13017,
    "h": 93.7
  },
  "luminance": 0.5637
}

Semantic roles & 50–950 ramp

primary
#E2C459
secondary
#3951A6
accent
#3DD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C459

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

Preview Lab → · Contrast checker → · Palette generator →

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