#D0CD71#D0CD71

#D0CD71 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.115 H 107.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D0CD71
RGBrgb(208, 205, 113)
HSLhsl(58, 50%, 63%)
HSVhsv(58, 46%, 82%)
CMYKcmyk(0%, 1.4%, 45.7%, 18.4%)
CIE-LABlab(80.89, -11.78, 45.92)
CIE-LCHlch(80.89, 47.40, 104.39°)
OKLaboklab(83.11% -0.0336 0.1099)
OKLCHoklch(83.11% 0.115 107)
XYZxyz(50.8254, 58.2661, 24.1887)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD71 #7174D0
analogous
#D09D71 #D0CD71 #A4D071
triadic
#D0CD71 #71D0CD #CD71D0
tetradic
#D0CD71 #71D09D #7174D0 #D071A4
square
#D0CD71 #71D09D #7174D0 #D071A4
split-complementary
#D0CD71 #71A4D0 #9D71D0
monochromatic
#959231 #C1BD43 #D0CD71 #DFDD9F #EEEDCD

Accessibility & contrast

On white

1.66
#D0CD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D0CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD71
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD71#FFFFFF#000000##000000
##D0CD711.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#DCC3B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cd71;
/* rgb */ color: rgb(208, 205, 113);
/* oklch */ color: oklch(83.1% 0.115 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc9c',
    500: '#d0cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd71;
$custom-light: #e0dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd71",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 58.105,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83113,
    "c": 0.11489,
    "h": 107
  },
  "luminance": 0.58265
}

Semantic roles & 50–950 ramp

primary
#D0CD71
secondary
#4A4D9B
accent
#2DBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D0CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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