#E2D847#E2D847

#E2D847 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.160 H 105.4°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#E2D847
RGBrgb(226, 216, 71)
HSLhsl(56, 73%, 58%)
HSVhsv(56, 69%, 89%)
CMYKcmyk(0%, 4.4%, 68.6%, 11.4%)
CIE-LABlab(84.86, -12.96, 69.15)
CIE-LCHlch(84.86, 70.36, 100.61°)
OKLaboklab(86.51% -0.0424 0.1542)
OKLCHoklch(86.51% 0.16 105.4)
XYZxyz(57.0595, 65.7375, 15.6430)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D847 #4751E2
analogous
#E28A47 #E2D847 #9EE247
triadic
#E2D847 #47E2D8 #D847E2
tetradic
#E2D847 #47E28A #4751E2 #E2479E
square
#E2D847 #47E28A #4751E2 #E2479E
split-complementary
#E2D847 #479EE2 #8A47E2
monochromatic
#978F18 #CCC120 #E2D847 #EAE37C #F3EEB1

Accessibility & contrast

On white

1.48
#E2D847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#E2D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D847
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D847#FFFFFF#000000##000000
##E2D8471.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD031
Deuteranopia (green-blind)
#EED751
Tritanopia (blue-blind)
#F2CABB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d847;
/* rgb */ color: rgb(226, 216, 71);
/* oklch */ color: oklch(86.5% 0.160 105.4);
Tailwind
colors: {
  custom: {
    50: '#efe383',
    500: '#e2d847',
    950: '#000000',
  },
}
SCSS
$custom: #e2d847;
$custom-light: #efe383;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d847",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 56.129,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86505,
    "c": 0.15995,
    "h": 105.4
  },
  "luminance": 0.65735
}

Semantic roles & 50–950 ramp

primary
#E2D847
secondary
#32399B
accent
#44EF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D847

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

Preview Lab → · Contrast checker → · Palette generator →

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