#D6D161#D6D161

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

Color values

HEX#D6D161
RGBrgb(214, 209, 97)
HSLhsl(57, 59%, 61%)
HSVhsv(57, 55%, 84%)
CMYKcmyk(0%, 2.3%, 54.7%, 16.1%)
CIE-LABlab(82.25, -12.75, 55.22)
CIE-LCHlch(82.25, 56.67, 103.00°)
OKLaboklab(84.26% -0.0383 0.1286)
OKLCHoklch(84.26% 0.134 106.6)
XYZxyz(52.6912, 60.7617, 20.2595)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D161 #6166D6
analogous
#D69661 #D6D161 #A0D661
triadic
#D6D161 #61D6D1 #D161D6
tetradic
#D6D161 #61D696 #6166D6 #D661A0
square
#D6D161 #61D696 #6166D6 #D661A0
split-complementary
#D6D161 #61A0D6 #9661D6
monochromatic
#969127 #C6C033 #D6D161 #E3DF92 #EFEDC2

Accessibility & contrast

On white

1.60
#D6D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D6D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D161
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D161#FFFFFF#000000##000000
##D6D1611.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6d161;
/* rgb */ color: rgb(214, 209, 97);
/* oklch */ color: oklch(84.3% 0.134 106.6);
Tailwind
colors: {
  custom: {
    50: '#e5de91',
    500: '#d6d161',
    950: '#000000',
  },
}
SCSS
$custom: #d6d161;
$custom-light: #e5de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d161",
  "rgb": {
    "r": 214,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 57.436,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84257,
    "c": 0.13421,
    "h": 106.6
  },
  "luminance": 0.6076
}

Semantic roles & 50–950 ramp

primary
#D6D161
secondary
#40449B
accent
#26C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D161

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

Preview Lab → · Contrast checker → · Palette generator →

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