#D7D85D#D7D85D

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

Color values

HEX#D7D85D
RGBrgb(215, 216, 93)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0.5%, 0%, 56.9%, 15.3%)
CIE-LABlab(84.15, -16.14, 59.17)
CIE-LCHlch(84.15, 61.33, 105.25°)
OKLaboklab(85.78% -0.0485 0.1366)
OKLCHoklch(85.78% 0.145 109.5)
XYZxyz(54.5575, 64.3505, 19.9008)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D85D #5E5DD8
analogous
#D89B5D #D7D85D #99D85D
triadic
#D7D85D #5DD7D8 #D85DD7
tetradic
#D7D85D #5DD89B #5E5DD8 #D85D99
square
#D7D85D #5DD89B #5E5DD8 #D85D99
split-complementary
#D7D85D #5D99D8 #9B5DD8
monochromatic
#959624 #C6C830 #D7D85D #E3E48E #EFF0C0

Accessibility & contrast

On white

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

On black

13.87
#D7D85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D85D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D85D#FFFFFF#000000##000000
##D7D85D1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D050
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#E5CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d85d;
/* rgb */ color: rgb(215, 216, 93);
/* oklch */ color: oklch(85.8% 0.145 109.5);
Tailwind
colors: {
  custom: {
    50: '#e6e38f',
    500: '#d7d85d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d85d;
$custom-light: #e6e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d85d",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 60.488,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85776,
    "c": 0.14492,
    "h": 109.5
  },
  "luminance": 0.64349
}

Semantic roles & 50–950 ramp

primary
#D7D85D
secondary
#3F3E9B
accent
#1DC91E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D85D

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

Preview Lab → · Contrast checker → · Palette generator →

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