#D0C671#D0C671

#D0C671 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.107 H 102.6°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D0C671
RGBrgb(208, 198, 113)
HSLhsl(54, 50%, 63%)
HSVhsv(54, 46%, 82%)
CMYKcmyk(0%, 4.8%, 45.7%, 18.4%)
CIE-LABlab(79.04, -8.21, 43.65)
CIE-LCHlch(79.04, 44.41, 100.65°)
OKLaboklab(81.64% -0.0233 0.1048)
OKLCHoklch(81.64% 0.107 102.6)
XYZxyz(49.1883, 54.9918, 23.6430)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C671 #717BD0
analogous
#D09671 #D0C671 #ABD071
triadic
#D0C671 #71D0C6 #C671D0
tetradic
#D0C671 #71D096 #717BD0 #D071AB
square
#D0C671 #71D096 #717BD0 #D071AB
split-complementary
#D0C671 #71ABD0 #9671D0
monochromatic
#958B31 #C1B443 #D0C671 #DFD89F #EEEBCD

Accessibility & contrast

On white

1.75
#D0C671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D0C671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C671
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C671#FFFFFF#000000##000000
##D0C6711.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#DCBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c671;
/* rgb */ color: rgb(208, 198, 113);
/* oklch */ color: oklch(81.6% 0.107 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d79b',
    500: '#d0c671',
    950: '#000000',
  },
}
SCSS
$custom: #d0c671;
$custom-light: #e0d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c671",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 53.684,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81643,
    "c": 0.10739,
    "h": 102.6
  },
  "luminance": 0.5499
}

Semantic roles & 50–950 ramp

primary
#D0C671
secondary
#4A539B
accent
#38BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0C671

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

Preview Lab → · Contrast checker → · Palette generator →

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