#D4CD5B#D4CD5B

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

Color values

HEX#D4CD5B
RGBrgb(212, 205, 91)
HSLhsl(57, 58%, 59%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 3.3%, 57.1%, 16.9%)
CIE-LABlab(80.97, -12.01, 56.43)
CIE-LCHlch(80.97, 57.70, 102.02°)
OKLaboklab(83.18% -0.0368 0.1306)
OKLCHoklch(83.18% 0.136 105.7)
XYZxyz(50.8726, 58.4166, 18.4913)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD5B #5B62D4
analogous
#D4915B #D4CD5B #9FD45B
triadic
#D4CD5B #5BD4CD #CD5BD4
tetradic
#D4CD5B #5BD491 #5B62D4 #D45B9F
square
#D4CD5B #5BD491 #5B62D4 #D45B9F
split-complementary
#D4CD5B #5B9FD4 #915BD4
monochromatic
#8F8926 #C0B732 #D4CD5B #E1DC8B #EDEBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD5B#FFFFFF#000000##000000
##D4CD5B1.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)
#DDC64F
Deuteranopia (green-blind)
#E0CB61
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd5b;
/* rgb */ color: rgb(212, 205, 91);
/* oklch */ color: oklch(83.2% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc8d',
    500: '#d4cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd5b;
$custom-light: #e4dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd5b",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 56.529,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8318,
    "c": 0.13564,
    "h": 105.7
  },
  "luminance": 0.58415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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