#D7C661#D7C661

#D7C661 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.124 H 99.9°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D7C661
RGBrgb(215, 198, 97)
HSLhsl(51, 60%, 61%)
HSVhsv(51, 55%, 84%)
CMYKcmyk(0%, 7.9%, 54.9%, 15.7%)
CIE-LABlab(79.44, -6.75, 52.01)
CIE-LCHlch(79.44, 52.44, 97.40°)
OKLaboklab(82.05% -0.0212 0.1217)
OKLCHoklch(82.05% 0.124 99.9)
XYZxyz(50.3778, 55.7003, 19.4045)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C661 #6172D7
analogous
#D78B61 #D7C661 #ADD761
triadic
#D7C661 #61D7C6 #C661D7
tetradic
#D7C661 #61D78B #6172D7 #D761AD
square
#D7C661 #61D78B #6172D7 #D761AD
split-complementary
#D7C661 #61ADD7 #8B61D7
monochromatic
#978726 #C8B333 #D7C661 #E3D892 #F0E9C3

Accessibility & contrast

On white

1.73
#D7C661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D7C661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C661
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C661#FFFFFF#000000##000000
##D7C6611.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C157
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c661;
/* rgb */ color: rgb(215, 198, 97);
/* oklch */ color: oklch(82.0% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6d791',
    500: '#d7c661',
    950: '#000000',
  },
}
SCSS
$custom: #d7c661;
$custom-light: #e6d791;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c661",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 51.356,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.12351,
    "h": 99.9
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C661

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

Preview Lab → · Contrast checker → · Palette generator →

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