#D0CA71#D0CA71

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

Color values

HEX#D0CA71
RGBrgb(208, 202, 113)
HSLhsl(56, 50%, 63%)
HSVhsv(56, 46%, 82%)
CMYKcmyk(0%, 2.9%, 45.7%, 18.4%)
CIE-LABlab(80.09, -10.25, 44.94)
CIE-LCHlch(80.09, 46.10, 102.85°)
OKLaboklab(82.48% -0.0292 0.1077)
OKLCHoklch(82.48% 0.112 105.2)
XYZxyz(50.1147, 56.8446, 23.9518)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA71 #7177D0
analogous
#D09B71 #D0CA71 #A6D071
triadic
#D0CA71 #71D0CA #CA71D0
tetradic
#D0CA71 #71D09B #7177D0 #D071A6
square
#D0CA71 #71D09B #7177D0 #D071A6
split-complementary
#D0CA71 #71A6D0 #9B71D0
monochromatic
#958F31 #C1B943 #D0CA71 #DFDB9F #EEECCD

Accessibility & contrast

On white

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

On black

12.37
#D0CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA71
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA71#FFFFFF#000000##000000
##D0CA711.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46A
Deuteranopia (green-blind)
#DAC975
Tritanopia (blue-blind)
#DCC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0ca71;
/* rgb */ color: rgb(208, 202, 113);
/* oklch */ color: oklch(82.5% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0da9b',
    500: '#d0ca71',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca71;
$custom-light: #e0da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca71",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 56.211,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.1116,
    "h": 105.2
  },
  "luminance": 0.56843
}

Semantic roles & 50–950 ramp

primary
#D0CA71
secondary
#4A4F9B
accent
#31BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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