#D7C85F#D7C85F

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

Color values

HEX#D7C85F
RGBrgb(215, 200, 95)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 7%, 55.8%, 15.7%)
CIE-LABlab(79.94, -7.93, 53.52)
CIE-LCHlch(79.94, 54.10, 98.43°)
OKLaboklab(82.44% -0.0248 0.1247)
OKLCHoklch(82.44% 0.127 101.3)
XYZxyz(50.7459, 56.5838, 19.0730)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C85F #5F6ED7
analogous
#D78C5F #D7C85F #AAD75F
triadic
#D7C85F #5FD7C8 #C85FD7
tetradic
#D7C85F #5FD78C #5F6ED7 #D75FAA
square
#D7C85F #5FD78C #5F6ED7 #D75FAA
split-complementary
#D7C85F #5FAAD7 #8C5FD7
monochromatic
#968826 #C7B432 #D7C85F #E3D990 #EFEAC1

Accessibility & contrast

On white

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

On black

12.32
#D7C85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C85F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C85F#FFFFFF#000000##000000
##D7C85F1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C355
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#E6BCB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c85f;
/* rgb */ color: rgb(215, 200, 95);
/* oklch */ color: oklch(82.4% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#e6d890',
    500: '#d7c85f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c85f;
$custom-light: #e6d890;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c85f",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 52.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82439,
    "c": 0.12716,
    "h": 101.3
  },
  "luminance": 0.56582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C85F

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

Preview Lab → · Contrast checker → · Palette generator →

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