#D0C047#D0C047

#D0C047 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.140 H 101.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D0C047
RGBrgb(208, 192, 71)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 66%, 82%)
CMYKcmyk(0%, 7.7%, 65.9%, 18.4%)
CIE-LABlab(77.02, -8.38, 60.68)
CIE-LCHlch(77.02, 61.25, 97.87°)
OKLaboklab(79.9% -0.0284 0.1369)
OKLCHoklch(79.9% 0.14 101.7)
XYZxyz(46.0013, 51.5660, 13.4902)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C047 #4757D0
analogous
#D07C47 #D0C047 #9BD047
triadic
#D0C047 #47D0C0 #C047D0
tetradic
#D0C047 #47D07C #4757D0 #D0479B
square
#D0C047 #47D07C #4757D0 #D0479B
split-complementary
#D0C047 #479BD0 #7C47D0
monochromatic
#7D7220 #AD9E2C #D0C047 #DCD178 #E9E1A8

Accessibility & contrast

On white

1.86
#D0C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D0C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C047
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C047#FFFFFF#000000##000000
##D0C0471.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#DFB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c047;
/* rgb */ color: rgb(208, 192, 71);
/* oklch */ color: oklch(79.9% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#e2d280',
    500: '#d0c047',
    950: '#000000',
  },
}
SCSS
$custom: #d0c047;
$custom-light: #e2d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c047",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 52.993,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79904,
    "c": 0.13981,
    "h": 101.7
  },
  "luminance": 0.51564
}

Semantic roles & 50–950 ramp

primary
#D0C047
secondary
#374084
accent
#58E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C047

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

Preview Lab → · Contrast checker → · Palette generator →

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