#D1CD73#D1CD73

#D1CD73 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.113 H 106.4°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D1CD73
RGBrgb(209, 205, 115)
HSLhsl(57, 51%, 64%)
HSVhsv(57, 45%, 82%)
CMYKcmyk(0%, 1.9%, 45%, 18%)
CIE-LABlab(80.99, -11.18, 45.08)
CIE-LCHlch(80.99, 46.45, 103.93°)
OKLaboklab(83.23% -0.0317 0.1082)
OKLCHoklch(83.23% 0.113 106.4)
XYZxyz(51.2214, 58.4571, 24.8015)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD73 #7377D1
analogous
#D19E73 #D1CD73 #A6D173
triadic
#D1CD73 #73D1CD #CD73D1
tetradic
#D1CD73 #73D19E #7377D1 #D173A6
square
#D1CD73 #73D19E #7377D1 #D173A6
split-complementary
#D1CD73 #73A6D1 #9E73D1
monochromatic
#989332 #C2BD45 #D1CD73 #E0DDA1 #EFEECF

Accessibility & contrast

On white

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

On black

12.69
#D1CD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD73
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD73#FFFFFF#000000##000000
##D1CD731.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd73;
/* rgb */ color: rgb(209, 205, 115);
/* oklch */ color: oklch(83.2% 0.113 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1dc9d',
    500: '#d1cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd73;
$custom-light: #e1dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd73",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 57.447,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83225,
    "c": 0.11271,
    "h": 106.4
  },
  "luminance": 0.58456
}

Semantic roles & 50–950 ramp

primary
#D1CD73
secondary
#4B4F9D
accent
#2EBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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