#D0CD72#D0CD72

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

Color values

HEX#D0CD72
RGBrgb(208, 205, 114)
HSLhsl(58, 50%, 63%)
HSVhsv(58, 45%, 82%)
CMYKcmyk(0%, 1.4%, 45.2%, 18.4%)
CIE-LABlab(80.90, -11.68, 45.44)
CIE-LCHlch(80.90, 46.92, 104.42°)
OKLaboklab(83.13% -0.0332 0.1089)
OKLCHoklch(83.13% 0.114 107)
XYZxyz(50.8821, 58.2887, 24.4868)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD72 #7275D0
analogous
#D09E72 #D0CD72 #A4D072
triadic
#D0CD72 #72D0CD #CD72D0
tetradic
#D0CD72 #72D09E #7275D0 #D072A4
square
#D0CD72 #72D09E #7275D0 #D072A4
split-complementary
#D0CD72 #72A4D0 #9E72D0
monochromatic
#969332 #C1BD44 #D0CD72 #DFDDA0 #EFEECE

Accessibility & contrast

On white

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

On black

12.66
#D0CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD72
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD72#FFFFFF#000000##000000
##D0CD721.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0cd72;
/* rgb */ color: rgb(208, 205, 114);
/* oklch */ color: oklch(83.1% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc9c',
    500: '#d0cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd72;
$custom-light: #e0dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd72",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 58.085,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83127,
    "c": 0.11384,
    "h": 107
  },
  "luminance": 0.58287
}

Semantic roles & 50–950 ramp

primary
#D0CD72
secondary
#4B4D9B
accent
#2DBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D0CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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