#E2C147#E2C147

#E2C147 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.142 H 93.7°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#E2C147
RGBrgb(226, 193, 71)
HSLhsl(47, 73%, 58%)
HSVhsv(47, 69%, 89%)
CMYKcmyk(0%, 14.6%, 68.6%, 11.4%)
CIE-LABlab(78.91, -1.26, 63.13)
CIE-LCHlch(78.91, 63.15, 91.14°)
OKLaboklab(81.78% -0.0091 0.1415)
OKLCHoklch(81.78% 0.142 93.7)
XYZxyz(51.5739, 54.7664, 13.8145)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C147 #4768E2
analogous
#E27347 #E2C147 #B5E247
triadic
#E2C147 #47E2C1 #C147E2
tetradic
#E2C147 #47E273 #4768E2 #E247B5
square
#E2C147 #47E273 #4768E2 #E247B5
split-complementary
#E2C147 #47B5E2 #7347E2
monochromatic
#977C18 #CCA720 #E2C147 #EAD37C #F3E5B1

Accessibility & contrast

On white

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

On black

11.95
#E2C147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C147
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C147#FFFFFF#000000##000000
##E2C1471.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE37
Deuteranopia (green-blind)
#DDC84D
Tritanopia (blue-blind)
#F4B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c147;
/* rgb */ color: rgb(226, 193, 71);
/* oklch */ color: oklch(81.8% 0.142 93.7);
Tailwind
colors: {
  custom: {
    50: '#efd381',
    500: '#e2c147',
    950: '#000000',
  },
}
SCSS
$custom: #e2c147;
$custom-light: #efd381;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c147",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 47.226,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.14182,
    "h": 93.7
  },
  "luminance": 0.54764
}

Semantic roles & 50–950 ramp

primary
#E2C147
secondary
#32499B
accent
#5FEF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C147

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

Preview Lab → · Contrast checker → · Palette generator →

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