#D4CD5C#D4CD5C

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

Color values

HEX#D4CD5C
RGBrgb(212, 205, 92)
HSLhsl(57, 58%, 60%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 3.3%, 56.6%, 16.9%)
CIE-LABlab(80.98, -11.94, 56.00)
CIE-LCHlch(80.98, 57.25, 102.03°)
OKLaboklab(83.19% -0.0365 0.1297)
OKLCHoklch(83.19% 0.135 105.7)
XYZxyz(50.9161, 58.4340, 18.7200)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD5C #5C63D4
analogous
#D4915C #D4CD5C #9FD45C
triadic
#D4CD5C #5CD4CD #CD5CD4
tetradic
#D4CD5C #5CD491 #5C63D4 #D45C9F
square
#D4CD5C #5CD491 #5C63D4 #D45C9F
split-complementary
#D4CD5C #5C9FD4 #915CD4
monochromatic
#908A26 #C0B833 #D4CD5C #E1DC8C #EEEBBD

Accessibility & contrast

On white

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

On black

12.69
#D4CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD5C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD5C#FFFFFF#000000##000000
##D4CD5C1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cd5c;
/* rgb */ color: rgb(212, 205, 92);
/* oklch */ color: oklch(83.2% 0.135 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc8e',
    500: '#d4cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd5c;
$custom-light: #e4dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd5c",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 56.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.13476,
    "h": 105.7
  },
  "luminance": 0.58432
}

Semantic roles & 50–950 ramp

primary
#D4CD5C
secondary
#3F4495
accent
#4FE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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