#E2D947#E2D947

#E2D947 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.161 H 105.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E2D947
RGBrgb(226, 217, 71)
HSLhsl(57, 73%, 58%)
HSVhsv(57, 69%, 89%)
CMYKcmyk(0%, 4%, 68.6%, 11.4%)
CIE-LABlab(85.12, -13.46, 69.41)
CIE-LCHlch(85.12, 70.70, 100.97°)
OKLaboklab(86.71% -0.0438 0.1548)
OKLCHoklch(86.71% 0.161 105.8)
XYZxyz(57.3165, 66.2515, 15.7287)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D947 #4750E2
analogous
#E28B47 #E2D947 #9DE247
triadic
#E2D947 #47E2D9 #D947E2
tetradic
#E2D947 #47E28B #4750E2 #E2479D
square
#E2D947 #47E28B #4750E2 #E2479D
split-complementary
#E2D947 #479DE2 #8B47E2
monochromatic
#978F18 #CCC220 #E2D947 #EAE47C #F3EFB1

Accessibility & contrast

On white

1.47
#E2D947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E2D947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D947
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D947#FFFFFF#000000##000000
##E2D9471.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD130
Deuteranopia (green-blind)
#EFD751
Tritanopia (blue-blind)
#F2CBBC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d947;
/* rgb */ color: rgb(226, 217, 71);
/* oklch */ color: oklch(86.7% 0.161 105.8);
Tailwind
colors: {
  custom: {
    50: '#efe483',
    500: '#e2d947',
    950: '#000000',
  },
}
SCSS
$custom: #e2d947;
$custom-light: #efe483;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d947",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 56.516,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86714,
    "c": 0.16086,
    "h": 105.8
  },
  "luminance": 0.66249
}

Semantic roles & 50–950 ramp

primary
#E2D947
secondary
#32389B
accent
#43EF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D947

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

Preview Lab → · Contrast checker → · Palette generator →

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