#D7C85D#D7C85D

#D7C85D is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.129 H 101.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D7C85D
RGBrgb(215, 200, 93)
HSLhsl(53, 60%, 60%)
HSVhsv(53, 57%, 84%)
CMYKcmyk(0%, 7%, 56.7%, 15.7%)
CIE-LABlab(79.92, -8.08, 54.41)
CIE-LCHlch(79.92, 55.01, 98.45°)
OKLaboklab(82.42% -0.0255 0.1264)
OKLCHoklch(82.42% 0.129 101.4)
XYZxyz(50.6562, 56.5479, 18.6003)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C85D #5D6CD7
analogous
#D78B5D #D7C85D #A9D75D
triadic
#D7C85D #5DD7C8 #C85DD7
tetradic
#D7C85D #5DD78B #5D6CD7 #D75DA9
square
#D7C85D #5DD78B #5D6CD7 #D75DA9
split-complementary
#D7C85D #5DA9D7 #8B5DD7
monochromatic
#958725 #C6B431 #D7C85D #E3D98E #EFE9BF

Accessibility & contrast

On white

1.71
#D7C85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D7C85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C85D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C85D#FFFFFF#000000##000000
##D7C85D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C352
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#E6BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c85d;
/* rgb */ color: rgb(215, 200, 93);
/* oklch */ color: oklch(82.4% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#e6d88e',
    500: '#d7c85d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c85d;
$custom-light: #e6d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c85d",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 52.623,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.12896,
    "h": 101.4
  },
  "luminance": 0.56546
}

Semantic roles & 50–950 ramp

primary
#D7C85D
secondary
#3E4A9A
accent
#32C81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C85D

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

Preview Lab → · Contrast checker → · Palette generator →

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