#E2D047#E2D047

#E2D047 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.153 H 101.7°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E2D047
RGBrgb(226, 208, 71)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 69%, 89%)
CMYKcmyk(0%, 8%, 68.6%, 11.4%)
CIE-LABlab(82.77, -8.94, 67.06)
CIE-LCHlch(82.77, 67.65, 97.60°)
OKLaboklab(84.85% -0.031 0.1498)
OKLCHoklch(84.85% 0.153 101.7)
XYZxyz(55.0596, 61.7378, 14.9764)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D047 #4759E2
analogous
#E28247 #E2D047 #A7E247
triadic
#E2D047 #47E2D0 #D047E2
tetradic
#E2D047 #47E282 #4759E2 #E247A7
square
#E2D047 #47E282 #4759E2 #E247A7
split-complementary
#E2D047 #47A7E2 #8247E2
monochromatic
#978818 #CCB820 #E2D047 #EADE7C #F3EBB1

Accessibility & contrast

On white

1.57
#E2D047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#E2D047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D047
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D047#FFFFFF#000000##000000
##E2D0471.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA33
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#F3C2B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d047;
/* rgb */ color: rgb(226, 208, 71);
/* oklch */ color: oklch(84.8% 0.153 101.7);
Tailwind
colors: {
  custom: {
    50: '#efde82',
    500: '#e2d047',
    950: '#000000',
  },
}
SCSS
$custom: #e2d047;
$custom-light: #efde82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d047",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 53.032,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84845,
    "c": 0.153,
    "h": 101.7
  },
  "luminance": 0.61735
}

Semantic roles & 50–950 ramp

primary
#E2D047
secondary
#323E9B
accent
#4EEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D047

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

Preview Lab → · Contrast checker → · Palette generator →

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