#D8D85B#D8D85B

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

Color values

HEX#D8D85B
RGBrgb(216, 216, 91)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0%, 0%, 57.9%, 15.3%)
CIE-LABlab(84.21, -15.87, 60.13)
CIE-LCHlch(84.21, 62.19, 104.79°)
OKLaboklab(85.84% -0.048 0.1384)
OKLCHoklch(85.84% 0.146 109.1)
XYZxyz(54.7647, 64.4675, 19.4541)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D85B #5B5BD8
analogous
#D8995B #D8D85B #99D85B
triadic
#D8D85B #5BD8D8 #D85BD8
tetradic
#D8D85B #5BD899 #5B5BD8 #D85B99
square
#D8D85B #5BD899 #5B5BD8 #D85B99
split-complementary
#D8D85B #5B99D8 #995BD8
monochromatic
#959523 #C7C72F #D8D85B #E4E48C #F0F0BE

Accessibility & contrast

On white

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

On black

13.89
#D8D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D85B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D85B#FFFFFF#000000##000000
##D8D85B1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d85b;
/* rgb */ color: rgb(216, 216, 91);
/* oklch */ color: oklch(85.8% 0.146 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e38e',
    500: '#d8d85b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d85b;
$custom-light: #e7e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d85b",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85838,
    "c": 0.14644,
    "h": 109.1
  },
  "luminance": 0.64466
}

Semantic roles & 50–950 ramp

primary
#D8D85B
secondary
#3D3D9A
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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