#D2C970#D2C970

#D2C970 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.112 H 103.4°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D2C970
RGBrgb(210, 201, 112)
HSLhsl(54, 52%, 63%)
HSVhsv(54, 47%, 82%)
CMYKcmyk(0%, 4.3%, 46.7%, 17.6%)
CIE-LABlab(79.98, -9.03, 45.34)
CIE-LCHlch(79.98, 46.23, 101.27°)
OKLaboklab(82.43% -0.0259 0.1085)
OKLCHoklch(82.43% 0.112 103.4)
XYZxyz(50.3908, 56.6463, 23.6055)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C970 #7079D2
analogous
#D29870 #D2C970 #AAD270
triadic
#D2C970 #70D2C9 #C970D2
tetradic
#D2C970 #70D298 #7079D2 #D270AA
square
#D2C970 #70D298 #7079D2 #D270AA
split-complementary
#D2C970 #70AAD2 #9870D2
monochromatic
#988E30 #C3B741 #D2C970 #E1DB9F #EFECCD

Accessibility & contrast

On white

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

On black

12.33
#D2C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C970
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C970#FFFFFF#000000##000000
##D2C9701.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C469
Deuteranopia (green-blind)
#DAC974
Tritanopia (blue-blind)
#DFBEB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c970;
/* rgb */ color: rgb(210, 201, 112);
/* oklch */ color: oklch(82.4% 0.112 103.4);
Tailwind
colors: {
  custom: {
    50: '#e1d99b',
    500: '#d2c970',
    950: '#000000',
  },
}
SCSS
$custom: #d2c970;
$custom-light: #e1d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c970",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 54.49,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82428,
    "c": 0.11153,
    "h": 103.4
  },
  "luminance": 0.56645
}

Semantic roles & 50–950 ramp

primary
#D2C970
secondary
#49519D
accent
#34C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C970

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

Preview Lab → · Contrast checker → · Palette generator →

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