#D7D85E#D7D85E

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

Color values

HEX#D7D85E
RGBrgb(215, 216, 94)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0.5%, 0%, 56.5%, 15.3%)
CIE-LABlab(84.16, -16.06, 58.74)
CIE-LCHlch(84.16, 60.90, 105.29°)
OKLaboklab(85.79% -0.0481 0.1358)
OKLCHoklch(85.79% 0.144 109.5)
XYZxyz(54.6021, 64.3684, 20.1355)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D85E #5F5ED8
analogous
#D89C5E #D7D85E #9AD85E
triadic
#D7D85E #5ED7D8 #D85ED7
tetradic
#D7D85E #5ED89C #5F5ED8 #D85E9A
square
#D7D85E #5ED89C #5F5ED8 #D85E9A
split-complementary
#D7D85E #5E9AD8 #9C5ED8
monochromatic
#969725 #C7C831 #D7D85E #E3E48F #EFF0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d7d85e;
/* rgb */ color: rgb(215, 216, 94);
/* oklch */ color: oklch(85.8% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#e6e390',
    500: '#d7d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d85e;
$custom-light: #e6e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d85e",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 60.492,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85787,
    "c": 0.14407,
    "h": 109.5
  },
  "luminance": 0.64367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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