#D0CC47#D0CC47

#D0CC47 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.151 H 107.6°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D0CC47
RGBrgb(208, 204, 71)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 66%, 82%)
CMYKcmyk(0%, 1.9%, 65.9%, 18.4%)
CIE-LABlab(80.21, -14.47, 63.97)
CIE-LCHlch(80.21, 65.59, 102.75°)
OKLaboklab(82.44% -0.0457 0.1438)
OKLCHoklch(82.44% 0.151 107.6)
XYZxyz(48.7443, 57.0521, 14.4045)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC47 #474BD0
analogous
#D08747 #D0CC47 #90D047
triadic
#D0CC47 #47D0CC #CC47D0
tetradic
#D0CC47 #47D087 #474BD0 #D04790
square
#D0CC47 #47D087 #474BD0 #D04790
split-complementary
#D0CC47 #4790D0 #8747D0
monochromatic
#7D7A20 #ADAA2C #D0CC47 #DCDA78 #E9E7A8

Accessibility & contrast

On white

1.69
#D0CC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D0CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC47
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC47#FFFFFF#000000##000000
##D0CC471.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#DFBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc47;
/* rgb */ color: rgb(208, 204, 71);
/* oklch */ color: oklch(82.4% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2db81',
    500: '#d0cc47',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc47;
$custom-light: #e2db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc47",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 58.248,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82441,
    "c": 0.15092,
    "h": 107.6
  },
  "luminance": 0.57051
}

Semantic roles & 50–950 ramp

primary
#D0CC47
secondary
#373984
accent
#4AE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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