#D2CD73#D2CD73

#D2CD73 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.113 H 105.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CD73
RGBrgb(210, 205, 115)
HSLhsl(57, 51%, 64%)
HSVhsv(57, 45%, 82%)
CMYKcmyk(0%, 2.4%, 45.2%, 17.6%)
CIE-LABlab(81.07, -10.78, 45.20)
CIE-LCHlch(81.07, 46.47, 103.41°)
OKLaboklab(83.31% -0.0306 0.1084)
OKLCHoklch(83.31% 0.113 105.8)
XYZxyz(51.5053, 58.6034, 24.8148)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD73 #7378D2
analogous
#D29D73 #D2CD73 #A7D273
triadic
#D2CD73 #73D2CD #CD73D2
tetradic
#D2CD73 #73D29D #7378D2 #D273A7
square
#D2CD73 #73D29D #7378D2 #D273A7
split-complementary
#D2CD73 #73A7D2 #9D73D2
monochromatic
#999431 #C3BC45 #D2CD73 #E1DEA1 #F0EED0

Accessibility & contrast

On white

1.65
#D2CD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D2CD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD73
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD73#FFFFFF#000000##000000
##D2CD731.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76B
Deuteranopia (green-blind)
#DDCB77
Tritanopia (blue-blind)
#DEC3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd73;
/* rgb */ color: rgb(210, 205, 115);
/* oklch */ color: oklch(83.3% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc9d',
    500: '#d2cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd73;
$custom-light: #e1dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd73",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 56.842,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83308,
    "c": 0.11265,
    "h": 105.8
  },
  "luminance": 0.58602
}

Semantic roles & 50–950 ramp

primary
#D2CD73
secondary
#4B4F9F
accent
#2FBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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