#D2CD74#D2CD74

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

Color values

HEX#D2CD74
RGBrgb(210, 205, 116)
HSLhsl(57, 51%, 64%)
HSVhsv(57, 45%, 82%)
CMYKcmyk(0%, 2.4%, 44.8%, 17.6%)
CIE-LABlab(81.09, -10.68, 44.73)
CIE-LCHlch(81.09, 45.98, 103.43°)
OKLaboklab(83.32% -0.0303 0.1074)
OKLCHoklch(83.32% 0.112 105.7)
XYZxyz(51.5631, 58.6266, 25.1195)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD74 #7479D2
analogous
#D29E74 #D2CD74 #A8D274
triadic
#D2CD74 #74D2CD #CD74D2
tetradic
#D2CD74 #74D29E #7479D2 #D274A8
square
#D2CD74 #74D29E #7479D2 #D274A8
split-complementary
#D2CD74 #74A8D2 #9E74D2
monochromatic
#9A9432 #C3BC46 #D2CD74 #E1DEA2 #F0EED0

Accessibility & contrast

On white

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

On black

12.73
#D2CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD74
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD74#FFFFFF#000000##000000
##D2CD741.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd74;
/* rgb */ color: rgb(210, 205, 116);
/* oklch */ color: oklch(83.3% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1dc9e',
    500: '#d2cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd74;
$custom-light: #e1dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd74",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 56.809,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83323,
    "c": 0.1116,
    "h": 105.7
  },
  "luminance": 0.58625
}

Semantic roles & 50–950 ramp

primary
#D2CD74
secondary
#4B509F
accent
#2FBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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