#D7C85E#D7C85E

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

Color values

HEX#D7C85E
RGBrgb(215, 200, 94)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 7%, 56.3%, 15.7%)
CIE-LABlab(79.93, -8.01, 53.97)
CIE-LCHlch(79.93, 54.56, 98.44°)
OKLaboklab(82.43% -0.0252 0.1256)
OKLCHoklch(82.43% 0.128 101.3)
XYZxyz(50.7007, 56.5657, 18.8351)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C85E #5E6DD7
analogous
#D78B5E #D7C85E #A9D75E
triadic
#D7C85E #5ED7C8 #C85ED7
tetradic
#D7C85E #5ED78B #5E6DD7 #D75EA9
square
#D7C85E #5ED78B #5E6DD7 #D75EA9
split-complementary
#D7C85E #5EA9D7 #8B5ED7
monochromatic
#958825 #C6B431 #D7C85E #E3D98F #EFE9C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C85E#FFFFFF#000000##000000
##D7C85E1.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)
#D8C353
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#E6BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c85e;
/* rgb */ color: rgb(215, 200, 94);
/* oklch */ color: oklch(82.4% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#e6d88f',
    500: '#d7c85e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c85e;
$custom-light: #e6d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c85e",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 52.562,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82427,
    "c": 0.12806,
    "h": 101.3
  },
  "luminance": 0.56564
}

Semantic roles & 50–950 ramp

primary
#D7C85E
secondary
#3F4A9A
accent
#33C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C85E

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

Preview Lab → · Contrast checker → · Palette generator →

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