#D5C347#D5C347

#D5C347 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.142 H 101.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D5C347
RGBrgb(213, 195, 71)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 8.5%, 66.7%, 16.5%)
CIE-LABlab(78.25, -7.80, 62.08)
CIE-LCHlch(78.25, 62.57, 97.16°)
OKLaboklab(80.98% -0.0271 0.1397)
OKLCHoklch(80.98% 0.142 101)
XYZxyz(48.0951, 53.6334, 13.7789)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C347 #4759D5
analogous
#D57C47 #D5C347 #A0D547
triadic
#D5C347 #47D5C3 #C347D5
tetradic
#D5C347 #47D57C #4759D5 #D547A0
square
#D5C347 #47D57C #4759D5 #D547A0
split-complementary
#D5C347 #47A0D5 #7C47D5
monochromatic
#84771E #B5A429 #D5C347 #E0D379 #ECE3AB

Accessibility & contrast

On white

1.79
#D5C347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D5C347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C347
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C347#FFFFFF#000000##000000
##D5C3471.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD36
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#E5B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c347;
/* rgb */ color: rgb(213, 195, 71);
/* oklch */ color: oklch(81.0% 0.142 101.0);
Tailwind
colors: {
  custom: {
    50: '#e5d481',
    500: '#d5c347',
    950: '#000000',
  },
}
SCSS
$custom: #d5c347;
$custom-light: #e5d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c347",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 52.394,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80982,
    "c": 0.14232,
    "h": 101
  },
  "luminance": 0.53631
}

Semantic roles & 50–950 ramp

primary
#D5C347
secondary
#36418A
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C347

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

Preview Lab → · Contrast checker → · Palette generator →

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