#D5CD3D#D5CD3D

#D5CD3D 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#D5CD3D
RGBrgb(213, 205, 61)
HSLhsl(57, 64%, 54%)
HSVhsv(57, 71%, 84%)
CMYKcmyk(0%, 3.8%, 71.4%, 16.5%)
CIE-LABlab(80.82, -13.39, 68.46)
CIE-LCHlch(80.82, 69.75, 101.07°)
OKLaboklab(83.01% -0.0439 0.1515)
OKLCHoklch(83.01% 0.158 106.2)
XYZxyz(50.1162, 58.1475, 12.9977)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD3D #3D45D5
analogous
#D5813D #D5CD3D #91D53D
triadic
#D5CD3D #3DD5CD #CD3DD5
tetradic
#D5CD3D #3DD581 #3D45D5 #D53D91
square
#D5CD3D #3DD581 #3D45D5 #D53D91
split-complementary
#D5CD3D #3D91D5 #813DD5
monochromatic
#7D771B #AFA826 #D5CD3D #E0DA6F #EBE7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD3D#FFFFFF#000000##000000
##D5CD3D1.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)
#DFC523
Deuteranopia (green-blind)
#E2CB47
Tritanopia (blue-blind)
#E5BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd3d;
/* rgb */ color: rgb(213, 205, 61);
/* oklch */ color: oklch(83.0% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7c',
    500: '#d5cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd3d;
$custom-light: #e6db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd3d",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 56.842,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83007,
    "c": 0.15771,
    "h": 106.2
  },
  "luminance": 0.58146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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