#D5C65D#D5C65D

#D5C65D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.127 H 101.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D5C65D
RGBrgb(213, 198, 93)
HSLhsl(53, 59%, 60%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 7%, 56.3%, 16.5%)
CIE-LABlab(79.23, -7.89, 53.58)
CIE-LCHlch(79.23, 54.15, 98.38°)
OKLaboklab(81.82% -0.0248 0.1247)
OKLCHoklch(81.82% 0.127 101.3)
XYZxyz(49.6122, 55.3265, 18.4196)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C65D #5D6CD5
analogous
#D58A5D #D5C65D #A8D55D
triadic
#D5C65D #5DD5C6 #C65DD5
tetradic
#D5C65D #5DD58A #5D6CD5 #D55DA8
square
#D5C65D #5DD58A #5D6CD5 #D55DA8
split-complementary
#D5C65D #5DA8D5 #8A5DD5
monochromatic
#928426 #C2B032 #D5C65D #E2D78E #EEE8BE

Accessibility & contrast

On white

1.74
#D5C65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D5C65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C65D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C65D#FFFFFF#000000##000000
##D5C65D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C152
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#E4BAAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c65d;
/* rgb */ color: rgb(213, 198, 93);
/* oklch */ color: oklch(81.8% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#e4d78e',
    500: '#d5c65d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c65d;
$custom-light: #e4d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c65d",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 52.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.81823,
    "c": 0.1271,
    "h": 101.3
  },
  "luminance": 0.55325
}

Semantic roles & 50–950 ramp

primary
#D5C65D
secondary
#3F4A97
accent
#59E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C65D

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

Preview Lab → · Contrast checker → · Palette generator →

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