#D0C147#D0C147

#D0C147 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.141 H 102.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D0C147
RGBrgb(208, 193, 71)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 66%, 82%)
CMYKcmyk(0%, 7.2%, 65.9%, 18.4%)
CIE-LABlab(77.28, -8.90, 60.95)
CIE-LCHlch(77.28, 61.60, 98.30°)
OKLaboklab(80.11% -0.0299 0.1375)
OKLCHoklch(80.11% 0.141 102.3)
XYZxyz(46.2216, 52.0066, 13.5636)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C147 #4756D0
analogous
#D07D47 #D0C147 #9AD047
triadic
#D0C147 #47D0C1 #C147D0
tetradic
#D0C147 #47D07D #4756D0 #D0479A
square
#D0C147 #47D07D #4756D0 #D0479A
split-complementary
#D0C147 #479AD0 #7D47D0
monochromatic
#7D7320 #AD9F2C #D0C147 #DCD178 #E9E2A8

Accessibility & contrast

On white

1.84
#D0C147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D0C147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C147
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C147#FFFFFF#000000##000000
##D0C1471.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB37
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#DFB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c147;
/* rgb */ color: rgb(208, 193, 71);
/* oklch */ color: oklch(80.1% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#e2d380',
    500: '#d0c147',
    950: '#000000',
  },
}
SCSS
$custom: #d0c147;
$custom-light: #e2d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c147",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 53.431,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80113,
    "c": 0.14068,
    "h": 102.3
  },
  "luminance": 0.52005
}

Semantic roles & 50–950 ramp

primary
#D0C147
secondary
#373F84
accent
#57E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C147

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

Preview Lab → · Contrast checker → · Palette generator →

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