#D9C170#D9C170

#D9C170 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.105 H 93.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D9C170
RGBrgb(217, 193, 112)
HSLhsl(46, 58%, 65%)
HSVhsv(46, 48%, 85%)
CMYKcmyk(0%, 11.1%, 48.4%, 14.9%)
CIE-LABlab(78.50, -2.06, 43.65)
CIE-LCHlch(78.50, 43.70, 92.70°)
OKLaboklab(81.4% -0.0062 0.1047)
OKLCHoklch(81.4% 0.105 93.4)
XYZxyz(50.6115, 54.0636, 23.0955)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C170 #7088D9
analogous
#D98D70 #D9C170 #BCD970
triadic
#D9C170 #70D9C1 #C170D9
tetradic
#D9C170 #70D98D #7088D9 #D970BC
square
#D9C170 #70D98D #7088D9 #D970BC
split-complementary
#D9C170 #70BCD9 #8D70D9
monochromatic
#A3882B #CCAC40 #D9C170 #E6D6A0 #F3EBD1

Accessibility & contrast

On white

1.78
#D9C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D9C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C170
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C170#FFFFFF#000000##000000
##D9C1701.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE69
Deuteranopia (green-blind)
#D7C573
Tritanopia (blue-blind)
#E7B6AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c170;
/* rgb */ color: rgb(217, 193, 112);
/* oklch */ color: oklch(81.4% 0.105 93.4);
Tailwind
colors: {
  custom: {
    50: '#e7d39a',
    500: '#d9c170',
    950: '#000000',
  },
}
SCSS
$custom: #d9c170;
$custom-light: #e7d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c170",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 46.286,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.10483,
    "h": 93.4
  },
  "luminance": 0.54061
}

Semantic roles & 50–950 ramp

primary
#D9C170
secondary
#465CA7
accent
#46C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D9C170

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

Preview Lab → · Contrast checker → · Palette generator →

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