#D3D161#D3D161

#D3D161 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.135 H 108.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D3D161
RGBrgb(211, 209, 97)
HSLhsl(59, 56%, 60%)
HSVhsv(59, 54%, 83%)
CMYKcmyk(0%, 0.9%, 54%, 17.3%)
CIE-LABlab(82.01, -13.98, 54.88)
CIE-LCHlch(82.01, 56.63, 104.29°)
OKLaboklab(84.01% -0.0417 0.1279)
OKLCHoklch(84.01% 0.135 108)
XYZxyz(51.8235, 60.3143, 20.2189)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D161 #6163D3
analogous
#D39861 #D3D161 #9CD361
triadic
#D3D161 #61D3D1 #D161D3
tetradic
#D3D161 #61D398 #6163D3 #D3619C
square
#D3D161 #61D398 #6163D3 #D3619C
split-complementary
#D3D161 #619CD3 #9861D3
monochromatic
#918F28 #C1BF36 #D3D161 #E0DF91 #EEEDC1

Accessibility & contrast

On white

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

On black

13.06
#D3D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D161
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D161#FFFFFF#000000##000000
##D3D1611.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA56
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#E0C5B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d161;
/* rgb */ color: rgb(211, 209, 97);
/* oklch */ color: oklch(84.0% 0.135 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3de91',
    500: '#d3d161',
    950: '#000000',
  },
}
SCSS
$custom: #d3d161;
$custom-light: #e3de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d161",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 58.947,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84006,
    "c": 0.13454,
    "h": 108
  },
  "luminance": 0.60313
}

Semantic roles & 50–950 ramp

primary
#D3D161
secondary
#414397
accent
#24C422
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D161

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

Preview Lab → · Contrast checker → · Palette generator →

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