#D0C347#D0C347

#D0C347 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.142 H 103.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D0C347
RGBrgb(208, 195, 71)
HSLhsl(54, 59%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.3%, 65.9%, 18.4%)
CIE-LABlab(77.81, -9.92, 61.50)
CIE-LCHlch(77.81, 62.30, 99.16°)
OKLaboklab(80.53% -0.0328 0.1386)
OKLCHoklch(80.53% 0.142 103.3)
XYZxyz(46.6667, 52.8969, 13.7120)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C347 #4754D0
analogous
#D07F47 #D0C347 #98D047
triadic
#D0C347 #47D0C3 #C347D0
tetradic
#D0C347 #47D07F #4754D0 #D04798
square
#D0C347 #47D07F #4754D0 #D04798
split-complementary
#D0C347 #4798D0 #7F47D0
monochromatic
#7D7420 #ADA12C #D0C347 #DCD378 #E9E3A8

Accessibility & contrast

On white

1.81
#D0C347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D0C347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C347
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C347#FFFFFF#000000##000000
##D0C3471.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#DFB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c347;
/* rgb */ color: rgb(208, 195, 71);
/* oklch */ color: oklch(80.5% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2d480',
    500: '#d0c347',
    950: '#000000',
  },
}
SCSS
$custom: #d0c347;
$custom-light: #e2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c347",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 54.307,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80534,
    "c": 0.14246,
    "h": 103.3
  },
  "luminance": 0.52895
}

Semantic roles & 50–950 ramp

primary
#D0C347
secondary
#373E84
accent
#54E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C347

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

Preview Lab → · Contrast checker → · Palette generator →

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