#D5CD4C#D5CD4C

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

Color values

HEX#D5CD4C
RGBrgb(213, 205, 76)
HSLhsl(56, 62%, 57%)
HSVhsv(56, 64%, 84%)
CMYKcmyk(0%, 3.8%, 64.3%, 16.5%)
CIE-LABlab(80.92, -12.60, 62.84)
CIE-LCHlch(80.92, 64.08, 101.33°)
OKLaboklab(83.12% -0.0401 0.1421)
OKLCHoklch(83.12% 0.148 105.8)
XYZxyz(50.5782, 58.3323, 15.4311)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD4C #4C54D5
analogous
#D5894C #D5CD4C #99D54C
triadic
#D5CD4C #4CD5CD #CD4CD5
tetradic
#D5CD4C #4CD589 #4C54D5 #D54C99
square
#D5CD4C #4CD589 #4C54D5 #D54C99
split-complementary
#D5CD4C #4C99D5 #894CD5
monochromatic
#878120 #B9B02B #D5CD4C #E1DB7E #ECE9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD4C#FFFFFF#000000##000000
##D5CD4C1.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)
#DEC63B
Deuteranopia (green-blind)
#E1CB54
Tritanopia (blue-blind)
#E4C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd4c;
/* rgb */ color: rgb(213, 205, 76);
/* oklch */ color: oklch(83.1% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc84',
    500: '#d5cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd4c;
$custom-light: #e5dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd4c",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 56.496,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83121,
    "c": 0.14765,
    "h": 105.8
  },
  "luminance": 0.58331
}

Semantic roles & 50–950 ramp

primary
#D5CD4C
secondary
#383D8D
accent
#4CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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