#D4CD5F#D4CD5F

#D4CD5F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.132 H 105.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D4CD5F
RGBrgb(212, 205, 95)
HSLhsl(56, 58%, 60%)
HSVhsv(56, 55%, 83%)
CMYKcmyk(0%, 3.3%, 55.2%, 16.9%)
CIE-LABlab(81.01, -11.71, 54.67)
CIE-LCHlch(81.01, 55.91, 102.09°)
OKLaboklab(83.22% -0.0355 0.1272)
OKLCHoklch(83.22% 0.132 105.6)
XYZxyz(51.0498, 58.4875, 19.4244)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD5F #5F66D4
analogous
#D4925F #D4CD5F #A1D45F
triadic
#D4CD5F #5FD4CD #CD5FD4
tetradic
#D4CD5F #5FD492 #5F66D4 #D45FA1
square
#D4CD5F #5FD492 #5F66D4 #D45FA1
split-complementary
#D4CD5F #5FA1D4 #925FD4
monochromatic
#918B27 #C2B934 #D4CD5F #E1DC8F #EEEBBF

Accessibility & contrast

On white

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

On black

12.70
#D4CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD5F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD5F#FFFFFF#000000##000000
##D4CD5F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC654
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#E2C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd5f;
/* rgb */ color: rgb(212, 205, 95);
/* oklch */ color: oklch(83.2% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#e4dc90',
    500: '#d4cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd5f;
$custom-light: #e4dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd5f",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 56.41,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83224,
    "c": 0.13209,
    "h": 105.6
  },
  "luminance": 0.58486
}

Semantic roles & 50–950 ramp

primary
#D4CD5F
secondary
#404597
accent
#2AC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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