#D5D85B#D5D85B

#D5D85B is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.147 H 110.4°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D5D85B
RGBrgb(213, 216, 91)
HSLhsl(61, 62%, 60%)
HSVhsv(61, 58%, 85%)
CMYKcmyk(1.4%, 0%, 57.9%, 15.3%)
CIE-LABlab(83.97, -17.09, 59.80)
CIE-LCHlch(83.97, 62.20, 105.95°)
OKLaboklab(85.59% -0.0513 0.1377)
OKLCHoklch(85.59% 0.147 110.4)
XYZxyz(53.8862, 64.0145, 19.4129)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D85B #5E5BD8
analogous
#D89C5B #D5D85B #96D85B
triadic
#D5D85B #5BD5D8 #D85BD5
tetradic
#D5D85B #5BD89C #5E5BD8 #D85B96
square
#D5D85B #5BD89C #5E5BD8 #D85B96
split-complementary
#D5D85B #5B96D8 #9C5BD8
monochromatic
#929523 #C3C72F #D5D85B #E2E48C #EEF0BE

Accessibility & contrast

On white

1.52
#D5D85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D5D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D85B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D85B#FFFFFF#000000##000000
##D5D85B1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E9D362
Tritanopia (blue-blind)
#E2CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d85b;
/* rgb */ color: rgb(213, 216, 91);
/* oklch */ color: oklch(85.6% 0.147 110.4);
Tailwind
colors: {
  custom: {
    50: '#e5e38e',
    500: '#d5d85b',
    950: '#000000',
  },
}
SCSS
$custom: #d5d85b;
$custom-light: #e5e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d85b",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 61.44,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85593,
    "c": 0.14696,
    "h": 110.4
  },
  "luminance": 0.64013
}

Semantic roles & 50–950 ramp

primary
#D5D85B
secondary
#3F3D9A
accent
#1CC920
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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