#D4CD5A#D4CD5A

#D4CD5A is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.137 H 105.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D4CD5A
RGBrgb(212, 205, 90)
HSLhsl(57, 59%, 59%)
HSVhsv(57, 58%, 83%)
CMYKcmyk(0%, 3.3%, 57.5%, 16.9%)
CIE-LABlab(80.96, -12.08, 56.87)
CIE-LCHlch(80.96, 58.14, 102.00°)
OKLaboklab(83.17% -0.0371 0.1314)
OKLCHoklch(83.17% 0.137 105.8)
XYZxyz(50.8298, 58.3995, 18.2656)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD5A #5A61D4
analogous
#D4905A #D4CD5A #9ED45A
triadic
#D4CD5A #5AD4CD #CD5AD4
tetradic
#D4CD5A #5AD490 #5A61D4 #D45A9E
square
#D4CD5A #5AD490 #5A61D4 #D45A9E
split-complementary
#D4CD5A #5A9ED4 #905AD4
monochromatic
#8E8825 #BFB732 #D4CD5A #E1DC8B #EDEABB

Accessibility & contrast

On white

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

On black

12.68
#D4CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD5A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD5A#FFFFFF#000000##000000
##D4CD5A1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd5a;
/* rgb */ color: rgb(212, 205, 90);
/* oklch */ color: oklch(83.2% 0.137 105.8);
Tailwind
colors: {
  custom: {
    50: '#e4dc8d',
    500: '#d4cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd5a;
$custom-light: #e4dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd5a",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 56.557,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83169,
    "c": 0.13651,
    "h": 105.8
  },
  "luminance": 0.58398
}

Semantic roles & 50–950 ramp

primary
#D4CD5A
secondary
#3E4394
accent
#4FE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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