#D8D85E#D8D85E

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

Color values

HEX#D8D85E
RGBrgb(216, 216, 94)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0%, 56.5%, 15.3%)
CIE-LABlab(84.24, -15.66, 58.85)
CIE-LCHlch(84.24, 60.90, 104.90°)
OKLaboklab(85.87% -0.047 0.136)
OKLCHoklch(85.87% 0.144 109.1)
XYZxyz(54.8967, 64.5203, 20.1494)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D85E #5E5ED8
analogous
#D89B5E #D8D85E #9BD85E
triadic
#D8D85E #5ED8D8 #D85ED8
tetradic
#D8D85E #5ED89B #5E5ED8 #D85E9B
square
#D8D85E #5ED89B #5E5ED8 #D85E9B
split-complementary
#D8D85E #5E9BD8 #9B5ED8
monochromatic
#979725 #C8C831 #D8D85E #E4E48F #F0F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D85E#FFFFFF#000000##000000
##D8D85E1.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)
#E8D051
Deuteranopia (green-blind)
#E9D465
Tritanopia (blue-blind)
#E6CCBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d85e;
/* rgb */ color: rgb(216, 216, 94);
/* oklch */ color: oklch(85.9% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d8d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d85e;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d85e",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85869,
    "c": 0.14391,
    "h": 109.1
  },
  "luminance": 0.64519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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