#D1C970#D1C970

#D1C970 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.112 H 104.0°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D1C970
RGBrgb(209, 201, 112)
HSLhsl(55, 51%, 63%)
HSVhsv(55, 46%, 82%)
CMYKcmyk(0%, 3.8%, 46.4%, 18%)
CIE-LABlab(79.90, -9.44, 45.22)
CIE-LCHlch(79.90, 46.19, 101.79°)
OKLaboklab(82.34% -0.027 0.1082)
OKLCHoklch(82.34% 0.112 104)
XYZxyz(50.1070, 56.4999, 23.5922)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C970 #7078D1
analogous
#D19970 #D1C970 #A8D170
triadic
#D1C970 #70D1C9 #C970D1
tetradic
#D1C970 #70D199 #7078D1 #D170A8
square
#D1C970 #70D199 #7078D1 #D170A8
split-complementary
#D1C970 #70A8D1 #9970D1
monochromatic
#968E30 #C2B842 #D1C970 #E0DA9E #EFECCD

Accessibility & contrast

On white

1.71
#D1C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D1C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C970
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C970#FFFFFF#000000##000000
##D1C9701.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C369
Deuteranopia (green-blind)
#DAC874
Tritanopia (blue-blind)
#DDBEB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1c970;
/* rgb */ color: rgb(209, 201, 112);
/* oklch */ color: oklch(82.3% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1d99b',
    500: '#d1c970',
    950: '#000000',
  },
}
SCSS
$custom: #d1c970;
$custom-light: #e1d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c970",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 55.052,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82343,
    "c": 0.11155,
    "h": 104
  },
  "luminance": 0.56498
}

Semantic roles & 50–950 ramp

primary
#D1C970
secondary
#49509C
accent
#33BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D1C970

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

Preview Lab → · Contrast checker → · Palette generator →

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