#E2C047#E2C047

#E2C047 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.141 H 93.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#E2C047
RGBrgb(226, 192, 71)
HSLhsl(47, 73%, 58%)
HSVhsv(47, 69%, 89%)
CMYKcmyk(0%, 15%, 68.6%, 11.4%)
CIE-LABlab(78.65, -0.74, 62.87)
CIE-LCHlch(78.65, 62.88, 90.68°)
OKLaboklab(81.58% -0.0077 0.141)
OKLCHoklch(81.58% 0.141 93.1)
XYZxyz(51.3536, 54.3258, 13.7410)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C047 #4769E2
analogous
#E27247 #E2C047 #B6E247
triadic
#E2C047 #47E2C0 #C047E2
tetradic
#E2C047 #47E272 #4769E2 #E247B6
square
#E2C047 #47E272 #4769E2 #E247B6
split-complementary
#E2C047 #47B6E2 #7247E2
monochromatic
#977B18 #CCA620 #E2C047 #EAD27C #F3E4B1

Accessibility & contrast

On white

1.77
#E2C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#E2C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C047
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C047#FFFFFF#000000##000000
##E2C0471.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#F4B1A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c047;
/* rgb */ color: rgb(226, 192, 71);
/* oklch */ color: oklch(81.6% 0.141 93.1);
Tailwind
colors: {
  custom: {
    50: '#efd281',
    500: '#e2c047',
    950: '#000000',
  },
}
SCSS
$custom: #e2c047;
$custom-light: #efd281;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c047",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 46.839,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81579,
    "c": 0.14118,
    "h": 93.1
  },
  "luminance": 0.54323
}

Semantic roles & 50–950 ramp

primary
#E2C047
secondary
#32499B
accent
#61EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C047

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

Preview Lab → · Contrast checker → · Palette generator →

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