#D7C85A#D7C85A

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

Color values

HEX#D7C85A
RGBrgb(215, 200, 90)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 58%, 84%)
CMYKcmyk(0%, 7%, 58.1%, 15.7%)
CIE-LABlab(79.90, -8.30, 55.75)
CIE-LCHlch(79.90, 56.36, 98.47°)
OKLaboklab(82.38% -0.0265 0.1289)
OKLCHoklch(82.38% 0.132 101.6)
XYZxyz(50.5259, 56.4957, 17.9142)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C85A #5A69D7
analogous
#D78A5A #D7C85A #A8D75A
triadic
#D7C85A #5AD7C8 #C85AD7
tetradic
#D7C85A #5AD78A #5A69D7 #D75AA8
square
#D7C85A #5AD78A #5A69D7 #D75AA8
split-complementary
#D7C85A #5AA8D7 #8A5AD7
monochromatic
#938624 #C4B230 #D7C85A #E3D88B #EFE9BD

Accessibility & contrast

On white

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

On black

12.30
#D7C85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C85A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C85A#FFFFFF#000000##000000
##D7C85A1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24E
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#E6BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c85a;
/* rgb */ color: rgb(215, 200, 90);
/* oklch */ color: oklch(82.4% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#e6d88c',
    500: '#d7c85a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c85a;
$custom-light: #e6d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c85a",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 52.8,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82383,
    "c": 0.1316,
    "h": 101.6
  },
  "luminance": 0.56494
}

Semantic roles & 50–950 ramp

primary
#D7C85A
secondary
#3D4898
accent
#57E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C85A

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

Preview Lab → · Contrast checker → · Palette generator →

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