#D7C161#D7C161

#D7C161 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.119 H 96.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D7C161
RGBrgb(215, 193, 97)
HSLhsl(49, 60%, 61%)
HSVhsv(49, 55%, 84%)
CMYKcmyk(0%, 10.2%, 54.9%, 15.7%)
CIE-LABlab(78.14, -4.17, 50.49)
CIE-LCHlch(78.14, 50.66, 94.72°)
OKLaboklab(81.02% -0.0138 0.1184)
OKLCHoklch(81.02% 0.119 96.6)
XYZxyz(49.2538, 53.4522, 19.0298)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C161 #6177D7
analogous
#D78661 #D7C161 #B2D761
triadic
#D7C161 #61D7C1 #C161D7
tetradic
#D7C161 #61D786 #6177D7 #D761B2
square
#D7C161 #61D786 #6177D7 #D761B2
split-complementary
#D7C161 #61B2D7 #8661D7
monochromatic
#978226 #C8AC33 #D7C161 #E3D492 #F0E7C3

Accessibility & contrast

On white

1.80
#D7C161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D7C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C161
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C161#FFFFFF#000000##000000
##D7C1611.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD58
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#E6B5AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c161;
/* rgb */ color: rgb(215, 193, 97);
/* oklch */ color: oklch(81.0% 0.119 96.6);
Tailwind
colors: {
  custom: {
    50: '#e6d390',
    500: '#d7c161',
    950: '#000000',
  },
}
SCSS
$custom: #d7c161;
$custom-light: #e6d390;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c161",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 48.814,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81016,
    "c": 0.11919,
    "h": 96.6
  },
  "luminance": 0.5345
}

Semantic roles & 50–950 ramp

primary
#D7C161
secondary
#40519C
accent
#3EC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C161

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

Preview Lab → · Contrast checker → · Palette generator →

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