#D7DC47#D7DC47

#D7DC47 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.166 H 111.3°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D7DC47
RGBrgb(215, 220, 71)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 68%, 86%)
CMYKcmyk(2.3%, 0%, 67.7%, 13.7%)
CIE-LABlab(85.04, -19.49, 69.04)
CIE-LCHlch(85.04, 71.74, 105.76°)
OKLaboklab(86.44% -0.0601 0.1543)
OKLCHoklch(86.44% 0.166 111.3)
XYZxyz(54.7566, 66.0898, 15.8322)
Luminance0.6609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC47 #4C47DC
analogous
#DC9647 #D7DC47 #8DDC47
triadic
#D7DC47 #47D7DC #DC47D7
tetradic
#D7DC47 #47DC96 #4C47DC #DC478D
square
#D7DC47 #47DC96 #4C47DC #DC478D
split-complementary
#D7DC47 #478DDC #9647DC
monochromatic
#8A8E1B #BCC125 #D7DC47 #E2E67A #EDF0AE

Accessibility & contrast

On white

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

On black

14.22
#D7DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC47
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC47#FFFFFF#000000##000000
##D7DC471.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD230
Deuteranopia (green-blind)
#EED652
Tritanopia (blue-blind)
#E5CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7dc47;
/* rgb */ color: rgb(215, 220, 71);
/* oklch */ color: oklch(86.4% 0.166 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e683',
    500: '#d7dc47',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc47;
$custom-light: #e7e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc47",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 62.013,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86435,
    "c": 0.16564,
    "h": 111.3
  },
  "luminance": 0.66088
}

Semantic roles & 50–950 ramp

primary
#D7DC47
secondary
#373493
accent
#3DEB43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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