#D4CD4D#D4CD4D

#D4CD4D is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.147 H 106.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D4CD4D
RGBrgb(212, 205, 77)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 64%, 83%)
CMYKcmyk(0%, 3.3%, 63.7%, 16.9%)
CIE-LABlab(80.85, -12.95, 62.32)
CIE-LCHlch(80.85, 63.65, 101.74°)
OKLaboklab(83.04% -0.041 0.1412)
OKLCHoklch(83.04% 0.147 106.2)
XYZxyz(50.3240, 58.1972, 15.6021)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD4D #4D54D4
analogous
#D48A4D #D4CD4D #98D44D
triadic
#D4CD4D #4DD4CD #CD4DD4
tetradic
#D4CD4D #4DD48A #4D54D4 #D44D98
square
#D4CD4D #4DD48A #4D54D4 #D44D98
split-complementary
#D4CD4D #4D98D4 #8A4DD4
monochromatic
#868120 #B7B02C #D4CD4D #E0DB7E #ECE9B0

Accessibility & contrast

On white

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

On black

12.64
#D4CD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD4D
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD4D#FFFFFF#000000##000000
##D4CD4D1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63D
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#E3C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd4d;
/* rgb */ color: rgb(212, 205, 77);
/* oklch */ color: oklch(83.0% 0.147 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc85',
    500: '#d4cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd4d;
$custom-light: #e4dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd4d",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 56.889,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83044,
    "c": 0.147,
    "h": 106.2
  },
  "luminance": 0.58196
}

Semantic roles & 50–950 ramp

primary
#D4CD4D
secondary
#383D8D
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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