#D5C970#D5C970

#D5C970 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.112 H 101.7°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D5C970
RGBrgb(213, 201, 112)
HSLhsl(53, 55%, 64%)
HSVhsv(53, 47%, 84%)
CMYKcmyk(0%, 5.6%, 47.4%, 16.5%)
CIE-LABlab(80.23, -7.82, 45.70)
CIE-LCHlch(80.23, 46.36, 99.71°)
OKLaboklab(82.69% -0.0226 0.1093)
OKLCHoklch(82.69% 0.112 101.7)
XYZxyz(51.2532, 57.0909, 23.6459)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C970 #707CD5
analogous
#D59670 #D5C970 #AED570
triadic
#D5C970 #70D5C9 #C970D5
tetradic
#D5C970 #70D596 #707CD5 #D570AE
square
#D5C970 #70D596 #707CD5 #D570AE
split-complementary
#D5C970 #70AED5 #9670D5
monochromatic
#9D8F2E #C7B741 #D5C970 #E3DB9F #F1EDCF

Accessibility & contrast

On white

1.69
#D5C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#D5C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C970
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C970#FFFFFF#000000##000000
##D5C9701.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c970;
/* rgb */ color: rgb(213, 201, 112);
/* oklch */ color: oklch(82.7% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#e4d99b',
    500: '#d5c970',
    950: '#000000',
  },
}
SCSS
$custom: #d5c970;
$custom-light: #e4d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c970",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 52.871,
    "s": 54.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82687,
    "c": 0.11156,
    "h": 101.7
  },
  "luminance": 0.57089
}

Semantic roles & 50–950 ramp

primary
#D5C970
secondary
#4853A1
accent
#36C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5C970

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

Preview Lab → · Contrast checker → · Palette generator →

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