#D4C970#D4C970

#D4C970 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.112 H 102.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D4C970
RGBrgb(212, 201, 112)
HSLhsl(53, 54%, 64%)
HSVhsv(53, 47%, 83%)
CMYKcmyk(0%, 5.2%, 47.2%, 16.9%)
CIE-LABlab(80.15, -8.22, 45.58)
CIE-LCHlch(80.15, 46.31, 100.23°)
OKLaboklab(82.6% -0.0237 0.109)
OKLCHoklch(82.6% 0.112 102.3)
XYZxyz(50.9640, 56.9418, 23.6324)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C970 #707BD4
analogous
#D49770 #D4C970 #ADD470
triadic
#D4C970 #70D4C9 #C970D4
tetradic
#D4C970 #70D497 #707BD4 #D470AD
square
#D4C970 #70D497 #707BD4 #D470AD
split-complementary
#D4C970 #70ADD4 #9770D4
monochromatic
#9B8F2F #C6B741 #D4C970 #E2DB9F #F0EDCE

Accessibility & contrast

On white

1.70
#D4C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D4C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C970
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C970#FFFFFF#000000##000000
##D4C9701.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C468
Deuteranopia (green-blind)
#DBC974
Tritanopia (blue-blind)
#E1BEB4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4c970;
/* rgb */ color: rgb(212, 201, 112);
/* oklch */ color: oklch(82.6% 0.112 102.3);
Tailwind
colors: {
  custom: {
    50: '#e3d99b',
    500: '#d4c970',
    950: '#000000',
  },
}
SCSS
$custom: #d4c970;
$custom-light: #e3d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c970",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 53.4,
    "s": 53.763,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82601,
    "c": 0.11153,
    "h": 102.3
  },
  "luminance": 0.5694
}

Semantic roles & 50–950 ramp

primary
#D4C970
secondary
#4852A0
accent
#36C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D4C970

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

Preview Lab → · Contrast checker → · Palette generator →

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