#D8D85D#D8D85D

#D8D85D is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.145 H 109.1°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D8D85D
RGBrgb(216, 216, 93)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0%, 56.9%, 15.3%)
CIE-LABlab(84.23, -15.73, 59.28)
CIE-LCHlch(84.23, 61.33, 104.86°)
OKLaboklab(85.86% -0.0474 0.1368)
OKLCHoklch(85.86% 0.145 109.1)
XYZxyz(54.8521, 64.5024, 19.9146)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D85D #5D5DD8
analogous
#D89A5D #D8D85D #9AD85D
triadic
#D8D85D #5DD8D8 #D85DD8
tetradic
#D8D85D #5DD89A #5D5DD8 #D85D9A
square
#D8D85D #5DD89A #5D5DD8 #D85D9A
split-complementary
#D8D85D #5D9AD8 #9A5DD8
monochromatic
#969624 #C8C830 #D8D85D #E4E48E #F0F0C0

Accessibility & contrast

On white

1.51
#D8D85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D8D85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D85D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D85D#FFFFFF#000000##000000
##D8D85D1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D050
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#E6CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d85d;
/* rgb */ color: rgb(216, 216, 93);
/* oklch */ color: oklch(85.9% 0.145 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e38f',
    500: '#d8d85d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d85d;
$custom-light: #e7e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d85d",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85858,
    "c": 0.14476,
    "h": 109.1
  },
  "luminance": 0.64501
}

Semantic roles & 50–950 ramp

primary
#D8D85D
secondary
#3E3E9B
accent
#1DC91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D85D

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

Preview Lab → · Contrast checker → · Palette generator →

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