#D7D85F#D7D85F

#D7D85F is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.143 H 109.5°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D7D85F
RGBrgb(215, 216, 95)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0.5%, 0%, 56%, 15.3%)
CIE-LABlab(84.17, -15.99, 58.31)
CIE-LCHlch(84.17, 60.46, 105.33°)
OKLaboklab(85.8% -0.0478 0.135)
OKLCHoklch(85.8% 0.143 109.5)
XYZxyz(54.6472, 64.3864, 20.3734)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D85F #605FD8
analogous
#D89C5F #D7D85F #9AD85F
triadic
#D7D85F #5FD7D8 #D85FD7
tetradic
#D7D85F #5FD89C #605FD8 #D85F9A
square
#D7D85F #5FD89C #605FD8 #D85F9A
split-complementary
#D7D85F #5F9AD8 #9C5FD8
monochromatic
#979825 #C8C931 #D7D85F #E3E490 #F0F0C1

Accessibility & contrast

On white

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

On black

13.88
#D7D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D85F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D85F#FFFFFF#000000##000000
##D7D85F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d85f;
/* rgb */ color: rgb(215, 216, 95);
/* oklch */ color: oklch(85.8% 0.143 109.5);
Tailwind
colors: {
  custom: {
    50: '#e6e390',
    500: '#d7d85f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d85f;
$custom-light: #e6e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d85f",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 60.496,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85797,
    "c": 0.1432,
    "h": 109.5
  },
  "luminance": 0.64385
}

Semantic roles & 50–950 ramp

primary
#D7D85F
secondary
#403F9C
accent
#1DC81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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