#D7C761#D7C761

#D7C761 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.124 H 100.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D7C761
RGBrgb(215, 199, 97)
HSLhsl(52, 60%, 61%)
HSVhsv(52, 55%, 84%)
CMYKcmyk(0%, 7.4%, 54.9%, 15.7%)
CIE-LABlab(79.70, -7.26, 52.31)
CIE-LCHlch(79.70, 52.81, 97.91°)
OKLaboklab(82.25% -0.0227 0.1223)
OKLCHoklch(82.25% 0.124 100.5)
XYZxyz(50.6071, 56.1589, 19.4810)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C761 #6171D7
analogous
#D78C61 #D7C761 #ACD761
triadic
#D7C761 #61D7C7 #C761D7
tetradic
#D7C761 #61D78C #6171D7 #D761AC
square
#D7C761 #61D78C #6171D7 #D761AC
split-complementary
#D7C761 #61ACD7 #8C61D7
monochromatic
#978826 #C8B433 #D7C761 #E3D892 #F0EAC3

Accessibility & contrast

On white

1.72
#D7C761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#D7C761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C761
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C761#FFFFFF#000000##000000
##D7C7611.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c761;
/* rgb */ color: rgb(215, 199, 97);
/* oklch */ color: oklch(82.3% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#e6d791',
    500: '#d7c761',
    950: '#000000',
  },
}
SCSS
$custom: #d7c761;
$custom-light: #e6d791;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c761",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 97
  },
  "hsl": {
    "h": 51.864,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82254,
    "c": 0.12441,
    "h": 100.5
  },
  "luminance": 0.56157
}

Semantic roles & 50–950 ramp

primary
#D7C761
secondary
#404D9C
accent
#35C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C761

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

Preview Lab → · Contrast checker → · Palette generator →

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