#D5CD4A#D5CD4A

#D5CD4A is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.149 H 105.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D5CD4A
RGBrgb(213, 205, 74)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 3.8%, 65.3%, 16.5%)
CIE-LABlab(80.91, -12.71, 63.63)
CIE-LCHlch(80.91, 64.89, 101.30°)
OKLaboklab(83.1% -0.0407 0.1435)
OKLCHoklch(83.1% 0.149 105.8)
XYZxyz(50.5098, 58.3050, 15.0706)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD4A #4A52D5
analogous
#D5884A #D5CD4A #98D54A
triadic
#D5CD4A #4AD5CD #CD4AD5
tetradic
#D5CD4A #4AD588 #4A52D5 #D54A98
square
#D5CD4A #4AD588 #4A52D5 #D54A98
split-complementary
#D5CD4A #4A98D5 #884AD5
monochromatic
#86801F #B7AF2B #D5CD4A #E1DB7C #ECE8AD

Accessibility & contrast

On white

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

On black

12.66
#D5CD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD4A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD4A#FFFFFF#000000##000000
##D5CD4A1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC638
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#E4C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd4a;
/* rgb */ color: rgb(213, 205, 74);
/* oklch */ color: oklch(83.1% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc83',
    500: '#d5cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd4a;
$custom-light: #e5dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd4a",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 56.547,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.1491,
    "h": 105.8
  },
  "luminance": 0.58303
}

Semantic roles & 50–950 ramp

primary
#D5CD4A
secondary
#373C8C
accent
#4CE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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