#D5CD4F#D5CD4F

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

Color values

HEX#D5CD4F
RGBrgb(213, 205, 79)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 3.8%, 62.9%, 16.5%)
CIE-LABlab(80.95, -12.41, 61.62)
CIE-LCHlch(80.95, 62.86, 101.39°)
OKLaboklab(83.15% -0.0393 0.14)
OKLCHoklch(83.15% 0.145 105.7)
XYZxyz(50.6850, 58.3750, 15.9933)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD4F #4F57D5
analogous
#D58A4F #D5CD4F #9AD54F
triadic
#D5CD4F #4FD5CD #CD4FD5
tetradic
#D5CD4F #4FD58A #4F57D5 #D54F9A
square
#D5CD4F #4FD58A #4F57D5 #D54F9A
split-complementary
#D5CD4F #4F9AD5 #8A4FD5
monochromatic
#898321 #BAB22C #D5CD4F #E1DB80 #EDE9B2

Accessibility & contrast

On white

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

On black

12.67
#D5CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD4F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD4F#FFFFFF#000000##000000
##D5CD4F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#E4C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd4f;
/* rgb */ color: rgb(213, 205, 79);
/* oklch */ color: oklch(83.1% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#e5dc86',
    500: '#d5cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd4f;
$custom-light: #e5dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd4f",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 56.418,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83147,
    "c": 0.14539,
    "h": 105.7
  },
  "luminance": 0.58373
}

Semantic roles & 50–950 ramp

primary
#D5CD4F
secondary
#393E8F
accent
#4DE543
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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