#D8D85F#D8D85F

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

Color values

HEX#D8D85F
RGBrgb(216, 216, 95)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0%, 56%, 15.3%)
CIE-LABlab(84.25, -15.58, 58.42)
CIE-LCHlch(84.25, 60.46, 104.94°)
OKLaboklab(85.88% -0.0467 0.1352)
OKLCHoklch(85.88% 0.143 109.1)
XYZxyz(54.9418, 64.5383, 20.3872)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D85F #5F5FD8
analogous
#D89B5F #D8D85F #9BD85F
triadic
#D8D85F #5FD8D8 #D85FD8
tetradic
#D8D85F #5FD89B #5F5FD8 #D85F9B
square
#D8D85F #5FD89B #5F5FD8 #D85F9B
split-complementary
#D8D85F #5F9BD8 #9B5FD8
monochromatic
#989825 #C9C931 #D8D85F #E4E490 #F0F0C1

Accessibility & contrast

On white

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

On black

13.91
#D8D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D85F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D85F#FFFFFF#000000##000000
##D8D85F1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#E6CCBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d85f;
/* rgb */ color: rgb(216, 216, 95);
/* oklch */ color: oklch(85.9% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d8d85f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d85f;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d85f",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85879,
    "c": 0.14305,
    "h": 109.1
  },
  "luminance": 0.64537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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