#D2CD4D#D2CD4D

#D2CD4D is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.147 H 107.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D2CD4D
RGBrgb(210, 205, 77)
HSLhsl(58, 60%, 56%)
HSVhsv(58, 63%, 82%)
CMYKcmyk(0%, 2.4%, 63.3%, 17.6%)
CIE-LABlab(80.68, -13.79, 62.10)
CIE-LCHlch(80.68, 63.61, 102.52°)
OKLaboklab(82.87% -0.0432 0.1408)
OKLCHoklch(82.87% 0.147 107.1)
XYZxyz(49.7509, 57.9017, 15.5752)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD4D #4D52D2
analogous
#D28B4D #D2CD4D #95D24D
triadic
#D2CD4D #4DD2CD #CD4DD2
tetradic
#D2CD4D #4DD28B #4D52D2 #D24D95
square
#D2CD4D #4DD28B #4D52D2 #D24D95
split-complementary
#D2CD4D #4D95D2 #8B4DD2
monochromatic
#838021 #B4AF2E #D2CD4D #DEDB7E #EBE8AF

Accessibility & contrast

On white

1.67
#D2CD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D2CD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD4D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD4D#FFFFFF#000000##000000
##D2CD4D1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#E0C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd4d;
/* rgb */ color: rgb(210, 205, 77);
/* oklch */ color: oklch(82.9% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#e3dc85',
    500: '#d2cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd4d;
$custom-light: #e3dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd4d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 57.744,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82873,
    "c": 0.14724,
    "h": 107.1
  },
  "luminance": 0.579
}

Semantic roles & 50–950 ramp

primary
#D2CD4D
secondary
#393C8A
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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