#D5C85D#D5C85D

#D5C85D is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.129 H 102.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D5C85D
RGBrgb(213, 200, 93)
HSLhsl(54, 59%, 60%)
HSVhsv(54, 56%, 84%)
CMYKcmyk(0%, 6.1%, 56.3%, 16.5%)
CIE-LABlab(79.75, -8.91, 54.17)
CIE-LCHlch(79.75, 54.90, 99.34°)
OKLaboklab(82.24% -0.0278 0.1259)
OKLCHoklch(82.24% 0.129 102.4)
XYZxyz(50.0723, 56.2468, 18.5729)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C85D #5D6AD5
analogous
#D58C5D #D5C85D #A6D55D
triadic
#D5C85D #5DD5C8 #C85DD5
tetradic
#D5C85D #5DD58C #5D6AD5 #D55DA6
square
#D5C85D #5DD58C #5D6AD5 #D55DA6
split-complementary
#D5C85D #5DA6D5 #8C5DD5
monochromatic
#928626 #C2B332 #D5C85D #E2D98E #EEE9BE

Accessibility & contrast

On white

1.71
#D5C85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D5C85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C85D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C85D#FFFFFF#000000##000000
##D5C85D1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#E3BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c85d;
/* rgb */ color: rgb(213, 200, 93);
/* oklch */ color: oklch(82.2% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#e4d88e',
    500: '#d5c85d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c85d;
$custom-light: #e4d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c85d",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 53.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.8224,
    "c": 0.12896,
    "h": 102.4
  },
  "luminance": 0.56245
}

Semantic roles & 50–950 ramp

primary
#D5C85D
secondary
#3F4997
accent
#57E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C85D

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

Preview Lab → · Contrast checker → · Palette generator →

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