#D4C170#D4C170

#D4C170 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.104 H 96.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D4C170
RGBrgb(212, 193, 112)
HSLhsl(49, 54%, 64%)
HSVhsv(49, 47%, 83%)
CMYKcmyk(0%, 9%, 47.2%, 16.9%)
CIE-LABlab(78.06, -4.10, 43.01)
CIE-LCHlch(78.06, 43.20, 95.44°)
OKLaboklab(80.94% -0.0118 0.1033)
OKLCHoklch(80.94% 0.104 96.5)
XYZxyz(49.1474, 53.3087, 23.0268)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C170 #7083D4
analogous
#D48F70 #D4C170 #B5D470
triadic
#D4C170 #70D4C1 #C170D4
tetradic
#D4C170 #70D48F #7083D4 #D470B5
square
#D4C170 #70D48F #7083D4 #D470B5
split-complementary
#D4C170 #70B5D4 #8F70D4
monochromatic
#9B862F #C6AD41 #D4C170 #E2D59F #F0EACE

Accessibility & contrast

On white

1.80
#D4C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D4C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C170
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C170#FFFFFF#000000##000000
##D4C1701.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#E1B6AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c170;
/* rgb */ color: rgb(212, 193, 112);
/* oklch */ color: oklch(80.9% 0.104 96.5);
Tailwind
colors: {
  custom: {
    50: '#e3d39a',
    500: '#d4c170',
    950: '#000000',
  },
}
SCSS
$custom: #d4c170;
$custom-light: #e3d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c170",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 48.6,
    "s": 53.763,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80945,
    "c": 0.10396,
    "h": 96.5
  },
  "luminance": 0.53307
}

Semantic roles & 50–950 ramp

primary
#D4C170
secondary
#4859A0
accent
#42C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D4C170

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

Preview Lab → · Contrast checker → · Palette generator →

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