#D1D161#D1D161

#D1D161 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.135 H 109.0°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D1D161
RGBrgb(209, 209, 97)
HSLhsl(60, 55%, 60%)
HSVhsv(60, 54%, 82%)
CMYKcmyk(0%, 0%, 53.6%, 18%)
CIE-LABlab(81.85, -14.79, 54.65)
CIE-LCHlch(81.85, 56.62, 105.14°)
OKLaboklab(83.84% -0.0439 0.1275)
OKLCHoklch(83.84% 0.135 109)
XYZxyz(51.2540, 60.0206, 20.1922)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D161 #6161D1
analogous
#D19961 #D1D161 #99D161
triadic
#D1D161 #61D1D1 #D161D1
tetradic
#D1D161 #61D199 #6161D1 #D16199
square
#D1D161 #61D199 #6161D1 #D16199
split-complementary
#D1D161 #6199D1 #9961D1
monochromatic
#8E8E29 #BEBE37 #D1D161 #DFDF90 #EDEDC0

Accessibility & contrast

On white

1.61
#D1D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D1D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D161
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D161#FFFFFF#000000##000000
##D1D1611.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C956
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#DEC5B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d161;
/* rgb */ color: rgb(209, 209, 97);
/* oklch */ color: oklch(83.8% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#e1de91',
    500: '#d1d161',
    950: '#000000',
  },
}
SCSS
$custom: #d1d161;
$custom-light: #e1de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d161",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 60,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.8384,
    "c": 0.13481,
    "h": 109
  },
  "luminance": 0.60019
}

Semantic roles & 50–950 ramp

primary
#D1D161
secondary
#424294
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D161

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

Preview Lab → · Contrast checker → · Palette generator →

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