#D5CD39#D5CD39

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

Color values

HEX#D5CD39
RGBrgb(213, 205, 57)
HSLhsl(57, 65%, 53%)
HSVhsv(57, 73%, 84%)
CMYKcmyk(0%, 3.8%, 73.2%, 16.5%)
CIE-LABlab(80.80, -13.57, 69.82)
CIE-LCHlch(80.80, 71.12, 101.00°)
OKLaboklab(82.98% -0.0448 0.1536)
OKLCHoklch(82.98% 0.16 106.2)
XYZxyz(50.0125, 58.1060, 12.4513)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD39 #3941D5
analogous
#D57F39 #D5CD39 #8FD539
triadic
#D5CD39 #39D5CD #CD39D5
tetradic
#D5CD39 #39D57F #3941D5 #D5398F
square
#D5CD39 #39D57F #3941D5 #D5398F
split-complementary
#D5CD39 #398FD5 #7F39D5
monochromatic
#7A751A #ACA525 #D5CD39 #E0DA6B #EAE69E

Accessibility & contrast

On white

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

On black

12.62
#D5CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD39
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD39#FFFFFF#000000##000000
##D5CD391.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cd39;
/* rgb */ color: rgb(213, 205, 57);
/* oklch */ color: oklch(83.0% 0.160 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7a',
    500: '#d5cd39',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd39;
$custom-light: #e6db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd39",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 56.923,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82981,
    "c": 0.16003,
    "h": 106.2
  },
  "luminance": 0.58104
}

Semantic roles & 50–950 ramp

primary
#D5CD39
secondary
#313582
accent
#48E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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