#D5C76D#D5C76D

#D5C76D is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.113 H 100.6°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D5C76D
RGBrgb(213, 199, 109)
HSLhsl(52, 55%, 63%)
HSVhsv(52, 49%, 84%)
CMYKcmyk(0%, 6.6%, 48.8%, 16.5%)
CIE-LABlab(79.67, -7.07, 46.49)
CIE-LCHlch(79.67, 47.02, 98.64°)
OKLaboklab(82.23% -0.0207 0.1108)
OKLCHoklch(82.23% 0.113 100.6)
XYZxyz(50.6257, 56.0988, 22.6264)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C76D #6D7BD5
analogous
#D5936D #D5C76D #AFD56D
triadic
#D5C76D #6DD5C7 #C76DD5
tetradic
#D5C76D #6DD593 #6D7BD5 #D56DAF
square
#D5C76D #6DD593 #6D7BD5 #D56DAF
split-complementary
#D5C76D #6DAFD5 #936DD5
monochromatic
#9B8C2D #C7B53D #D5C76D #E3D99D #F0EBCC

Accessibility & contrast

On white

1.72
#D5C76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D5C76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C76D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C76D#FFFFFF#000000##000000
##D5C76D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C265
Deuteranopia (green-blind)
#DAC871
Tritanopia (blue-blind)
#E2BCB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c76d;
/* rgb */ color: rgb(213, 199, 109);
/* oklch */ color: oklch(82.2% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#e4d799',
    500: '#d5c76d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c76d;
$custom-light: #e4d799;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c76d",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 51.923,
    "s": 55.319,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.11268,
    "h": 100.6
  },
  "luminance": 0.56097
}

Semantic roles & 50–950 ramp

primary
#D5C76D
secondary
#4753A0
accent
#38C323
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5C76D

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

Preview Lab → · Contrast checker → · Palette generator →

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