#D9D85F#D9D85F

#D9D85F is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.143 H 108.6°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#D9D85F
RGBrgb(217, 216, 95)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0.5%, 56.2%, 14.9%)
CIE-LABlab(84.32, -15.18, 58.53)
CIE-LCHlch(84.32, 60.46, 104.54°)
OKLaboklab(85.96% -0.0456 0.1354)
OKLCHoklch(85.96% 0.143 108.6)
XYZxyz(55.2383, 64.6912, 20.4011)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D85F #5F60D9
analogous
#D99B5F #D9D85F #9DD95F
triadic
#D9D85F #5FD9D8 #D85FD9
tetradic
#D9D85F #5FD99B #5F60D9 #D95F9D
square
#D9D85F #5FD99B #5F60D9 #D95F9D
split-complementary
#D9D85F #5F9DD9 #9B5FD9
monochromatic
#999824 #CBC930 #D9D85F #E5E490 #F0F0C2

Accessibility & contrast

On white

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

On black

13.94
#D9D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D85F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D85F#FFFFFF#000000##000000
##D9D85F1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d85f;
/* rgb */ color: rgb(217, 216, 95);
/* oklch */ color: oklch(86.0% 0.143 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d9d85f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d85f;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d85f",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 59.508,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85961,
    "c": 0.1429,
    "h": 108.6
  },
  "luminance": 0.6469
}

Semantic roles & 50–950 ramp

primary
#D9D85F
secondary
#3F3F9E
accent
#1EC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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