#D5C85B#D5C85B

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

Color values

HEX#D5C85B
RGBrgb(213, 200, 91)
HSLhsl(54, 59%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 6.1%, 57.3%, 16.5%)
CIE-LABlab(79.73, -9.06, 55.06)
CIE-LCHlch(79.73, 55.81, 99.34°)
OKLaboklab(82.22% -0.0284 0.1276)
OKLCHoklch(82.22% 0.131 102.6)
XYZxyz(49.9849, 56.2118, 18.1125)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C85B #5B68D5
analogous
#D58B5B #D5C85B #A5D55B
triadic
#D5C85B #5BD5C8 #C85BD5
tetradic
#D5C85B #5BD58B #5B68D5 #D55BA5
square
#D5C85B #5BD58B #5B68D5 #D55BA5
split-complementary
#D5C85B #5BA5D5 #8B5BD5
monochromatic
#918525 #C1B232 #D5C85B #E1D88C #EEE9BC

Accessibility & contrast

On white

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

On black

12.24
#D5C85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C85B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C85B#FFFFFF#000000##000000
##D5C85B1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#E4BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c85b;
/* rgb */ color: rgb(213, 200, 91);
/* oklch */ color: oklch(82.2% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#e5d88d',
    500: '#d5c85b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c85b;
$custom-light: #e5d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c85b",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 53.607,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82218,
    "c": 0.13073,
    "h": 102.6
  },
  "luminance": 0.5621
}

Semantic roles & 50–950 ramp

primary
#D5C85B
secondary
#3E4796
accent
#56E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C85B

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

Preview Lab → · Contrast checker → · Palette generator →

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