#D3C970#D3C970

#D3C970 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.112 H 102.8°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D3C970
RGBrgb(211, 201, 112)
HSLhsl(54, 53%, 63%)
HSVhsv(54, 47%, 83%)
CMYKcmyk(0%, 4.7%, 46.9%, 17.3%)
CIE-LABlab(80.06, -8.63, 45.46)
CIE-LCHlch(80.06, 46.27, 100.75°)
OKLaboklab(82.51% -0.0248 0.1087)
OKLCHoklch(82.51% 0.112 102.8)
XYZxyz(50.6765, 56.7936, 23.6189)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C970 #707AD3
analogous
#D39770 #D3C970 #ABD370
triadic
#D3C970 #70D3C9 #C970D3
tetradic
#D3C970 #70D397 #707AD3 #D370AB
square
#D3C970 #70D397 #707AD3 #D370AB
split-complementary
#D3C970 #70ABD3 #9770D3
monochromatic
#998F2F #C5B741 #D3C970 #E1DB9F #F0ECCE

Accessibility & contrast

On white

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

On black

12.36
#D3C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C970
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C970#FFFFFF#000000##000000
##D3C9701.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c970;
/* rgb */ color: rgb(211, 201, 112);
/* oklch */ color: oklch(82.5% 0.112 102.8);
Tailwind
colors: {
  custom: {
    50: '#e2d99b',
    500: '#d3c970',
    950: '#000000',
  },
}
SCSS
$custom: #d3c970;
$custom-light: #e2d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c970",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 53.939,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82514,
    "c": 0.11153,
    "h": 102.8
  },
  "luminance": 0.56792
}

Semantic roles & 50–950 ramp

primary
#D3C970
secondary
#49519E
accent
#35C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D3C970

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

Preview Lab → · Contrast checker → · Palette generator →

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