#E7D947#E7D947

#E7D947 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.1% C 0.160 H 103.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E7D947
RGBrgb(231, 217, 71)
HSLhsl(55, 77%, 59%)
HSVhsv(55, 69%, 91%)
CMYKcmyk(0%, 6.1%, 69.3%, 9.4%)
CIE-LABlab(85.54, -11.37, 69.96)
CIE-LCHlch(85.54, 70.88, 99.23°)
OKLaboklab(87.15% -0.0382 0.1558)
OKLCHoklch(87.15% 0.16 103.8)
XYZxyz(58.9076, 67.0719, 15.8032)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D947 #4755E7
analogous
#E78947 #E7D947 #A5E747
triadic
#E7D947 #47E7D9 #D947E7
tetradic
#E7D947 #47E789 #4755E7 #E747A5
square
#E7D947 #47E789 #4755E7 #E747A5
split-complementary
#E7D947 #47A5E7 #8947E7
monochromatic
#9F9315 #D5C51C #E7D947 #EEE47D #F5EFB3

Accessibility & contrast

On white

1.46
#E7D947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#E7D947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D947
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D947#FFFFFF#000000##000000
##E7D9471.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD230
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#F8CABC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d947;
/* rgb */ color: rgb(231, 217, 71);
/* oklch */ color: oklch(87.1% 0.160 103.8);
Tailwind
colors: {
  custom: {
    50: '#f2e483',
    500: '#e7d947',
    950: '#000000',
  },
}
SCSS
$custom: #e7d947;
$custom-light: #f2e483;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d947",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 54.75,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87145,
    "c": 0.16041,
    "h": 103.8
  },
  "luminance": 0.6707
}

Semantic roles & 50–950 ramp

primary
#E7D947
secondary
#313AA2
accent
#45F334
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D947

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

Preview Lab → · Contrast checker → · Palette generator →

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