#D7D747#D7D747

#D7D747 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.161 H 109.4°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D7D747
RGBrgb(215, 215, 71)
HSLhsl(60, 64%, 56%)
HSVhsv(60, 67%, 84%)
CMYKcmyk(0%, 0%, 67%, 15.7%)
CIE-LABlab(83.71, -17.03, 67.70)
CIE-LCHlch(83.71, 69.81, 104.12°)
OKLaboklab(85.37% -0.0533 0.1515)
OKLCHoklch(85.37% 0.161 109.4)
XYZxyz(53.4639, 63.5044, 15.4013)
Luminance0.6350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D747 #4747D7
analogous
#D78F47 #D7D747 #8FD747
triadic
#D7D747 #47D7D7 #D747D7
tetradic
#D7D747 #47D78F #4747D7 #D7478F
square
#D7D747 #47D78F #4747D7 #D7478F
split-complementary
#D7D747 #478FD7 #8F47D7
monochromatic
#86861D #B9B928 #D7D747 #E2E279 #EDEDAC

Accessibility & contrast

On white

1.53
#D7D747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D7D747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D747
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D747#FFFFFF#000000##000000
##D7D7471.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE31
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#E6CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d747;
/* rgb */ color: rgb(215, 215, 71);
/* oklch */ color: oklch(85.4% 0.161 109.4);
Tailwind
colors: {
  custom: {
    50: '#e7e382',
    500: '#d7d747',
    950: '#000000',
  },
}
SCSS
$custom: #d7d747;
$custom-light: #e7e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d747",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85368,
    "c": 0.1606,
    "h": 109.4
  },
  "luminance": 0.63503
}

Semantic roles & 50–950 ramp

primary
#D7D747
secondary
#35358D
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D747

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

Preview Lab → · Contrast checker → · Palette generator →

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