#D7CC47#D7CC47

#D7CC47 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.150 H 104.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D7CC47
RGBrgb(215, 204, 71)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 5.1%, 67%, 15.7%)
CIE-LABlab(80.79, -11.54, 64.75)
CIE-LCHlch(80.79, 65.77, 100.11°)
OKLaboklab(83.04% -0.0378 0.1453)
OKLCHoklch(83.04% 0.15 104.6)
XYZxyz(50.7565, 58.0896, 14.4988)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC47 #4752D7
analogous
#D78447 #D7CC47 #9AD747
triadic
#D7CC47 #47D7CC #CC47D7
tetradic
#D7CC47 #47D784 #4752D7 #D7479A
square
#D7CC47 #47D784 #4752D7 #D7479A
split-complementary
#D7CC47 #479AD7 #8447D7
monochromatic
#867E1D #B9AE28 #D7CC47 #E2DA79 #EDE8AC

Accessibility & contrast

On white

1.66
#D7CC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D7CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC47
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC47#FFFFFF#000000##000000
##D7CC471.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#E7BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc47;
/* rgb */ color: rgb(215, 204, 71);
/* oklch */ color: oklch(83.0% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#e7db81',
    500: '#d7cc47',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc47;
$custom-light: #e7db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc47",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 55.417,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83042,
    "c": 0.15011,
    "h": 104.6
  },
  "luminance": 0.58088
}

Semantic roles & 50–950 ramp

primary
#D7CC47
secondary
#353C8D
accent
#4DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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