#D5CD3C#D5CD3C

#D5CD3C is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.158 H 106.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D5CD3C
RGBrgb(213, 205, 60)
HSLhsl(57, 65%, 54%)
HSVhsv(57, 72%, 84%)
CMYKcmyk(0%, 3.8%, 71.8%, 16.5%)
CIE-LABlab(80.81, -13.44, 68.80)
CIE-LCHlch(80.81, 70.10, 101.05°)
OKLaboklab(83% -0.0441 0.152)
OKLCHoklch(83% 0.158 106.2)
XYZxyz(50.0895, 58.1368, 12.8571)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD3C #3C44D5
analogous
#D5803C #D5CD3C #90D53C
triadic
#D5CD3C #3CD5CD #CD3CD5
tetradic
#D5CD3C #3CD580 #3C44D5 #D53C90
square
#D5CD3C #3CD580 #3C44D5 #D53C90
split-complementary
#D5CD3C #3C90D5 #803CD5
monochromatic
#7C771B #AEA726 #D5CD3C #E0DA6E #EBE7A1

Accessibility & contrast

On white

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

On black

12.63
#D5CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD3C
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD3C#FFFFFF#000000##000000
##D5CD3C1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC521
Deuteranopia (green-blind)
#E2CB47
Tritanopia (blue-blind)
#E5BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd3c;
/* rgb */ color: rgb(213, 205, 60);
/* oklch */ color: oklch(83.0% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7c',
    500: '#d5cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd3c;
$custom-light: #e6db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd3c",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 56.863,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83,
    "c": 0.1583,
    "h": 106.2
  },
  "luminance": 0.58135
}

Semantic roles & 50–950 ramp

primary
#D5CD3C
secondary
#323684
accent
#49E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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