#D0C170#D0C170

#D0C170 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.103 H 99.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D0C170
RGBrgb(208, 193, 112)
HSLhsl(51, 51%, 63%)
HSVhsv(51, 46%, 82%)
CMYKcmyk(0%, 7.2%, 46.2%, 18.4%)
CIE-LABlab(77.71, -5.73, 42.50)
CIE-LCHlch(77.71, 42.89, 97.68°)
OKLaboklab(80.59% -0.0163 0.1022)
OKLCHoklch(80.59% 0.104 99.1)
XYZxyz(48.0083, 52.7213, 22.9734)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C170 #707FD0
analogous
#D09170 #D0C170 #AFD070
triadic
#D0C170 #70D0C1 #C170D0
tetradic
#D0C170 #70D091 #707FD0 #D070AF
square
#D0C170 #70D091 #707FD0 #D070AF
split-complementary
#D0C170 #70AFD0 #9170D0
monochromatic
#958531 #C1AD42 #D0C170 #DFD59E #EEE9CC

Accessibility & contrast

On white

1.82
#D0C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D0C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C170
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C170#FFFFFF#000000##000000
##D0C1701.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD69
Deuteranopia (green-blind)
#D3C373
Tritanopia (blue-blind)
#DDB7AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c170;
/* rgb */ color: rgb(208, 193, 112);
/* oklch */ color: oklch(80.6% 0.103 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0d39a',
    500: '#d0c170',
    950: '#000000',
  },
}
SCSS
$custom: #d0c170;
$custom-light: #e0d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c170",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 50.625,
    "s": 50.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80588,
    "c": 0.1035,
    "h": 99.1
  },
  "luminance": 0.5272
}

Semantic roles & 50–950 ramp

primary
#D0C170
secondary
#4A569A
accent
#3FBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0C170

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

Preview Lab → · Contrast checker → · Palette generator →

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