#D7D161#D7D161

#D7D161 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.134 H 106.1°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D7D161
RGBrgb(215, 209, 97)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 55%, 84%)
CMYKcmyk(0%, 2.8%, 54.9%, 15.7%)
CIE-LABlab(82.33, -12.34, 55.33)
CIE-LCHlch(82.33, 56.69, 102.57°)
OKLaboklab(84.34% -0.0372 0.1288)
OKLCHoklch(84.34% 0.134 106.1)
XYZxyz(52.9840, 60.9127, 20.2733)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D161 #6167D7
analogous
#D79661 #D7D161 #A2D761
triadic
#D7D161 #61D7D1 #D161D7
tetradic
#D7D161 #61D796 #6167D7 #D761A2
square
#D7D161 #61D796 #6167D7 #D761A2
split-complementary
#D7D161 #61A2D7 #9661D7
monochromatic
#979226 #C8C133 #D7D161 #E3DF92 #F0EDC3

Accessibility & contrast

On white

1.59
#D7D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#D7D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D161
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D161#FFFFFF#000000##000000
##D7D1611.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA56
Deuteranopia (green-blind)
#E3CF67
Tritanopia (blue-blind)
#E5C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d161;
/* rgb */ color: rgb(215, 209, 97);
/* oklch */ color: oklch(84.3% 0.134 106.1);
Tailwind
colors: {
  custom: {
    50: '#e6de91',
    500: '#d7d161',
    950: '#000000',
  },
}
SCSS
$custom: #d7d161;
$custom-light: #e6de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d161",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 56.949,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84342,
    "c": 0.1341,
    "h": 106.1
  },
  "luminance": 0.60911
}

Semantic roles & 50–950 ramp

primary
#D7D161
secondary
#40459C
accent
#27C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D161

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

Preview Lab → · Contrast checker → · Palette generator →

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