#D0D161#D0D161

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

Color values

HEX#D0D161
RGBrgb(208, 209, 97)
HSLhsl(61, 55%, 60%)
HSVhsv(61, 54%, 82%)
CMYKcmyk(0.5%, 0%, 53.6%, 18%)
CIE-LABlab(81.77, -15.20, 54.54)
CIE-LCHlch(81.77, 56.62, 105.57°)
OKLaboklab(83.76% -0.045 0.1273)
OKLCHoklch(83.76% 0.135 109.5)
XYZxyz(50.9718, 59.8751, 20.1789)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D161 #6261D1
analogous
#D19A61 #D0D161 #98D161
triadic
#D0D161 #61D0D1 #D161D0
tetradic
#D0D161 #61D19A #6261D1 #D16198
square
#D0D161 #61D19A #6261D1 #D16198
split-complementary
#D0D161 #6198D1 #9A61D1
monochromatic
#8D8E29 #BCBE37 #D0D161 #DEDF90 #ECEDC0

Accessibility & contrast

On white

1.62
#D0D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D0D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D161
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D161#FFFFFF#000000##000000
##D0D1611.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0d161;
/* rgb */ color: rgb(208, 209, 97);
/* oklch */ color: oklch(83.8% 0.135 109.5);
Tailwind
colors: {
  custom: {
    50: '#e1de91',
    500: '#d0d161',
    950: '#000000',
  },
}
SCSS
$custom: #d0d161;
$custom-light: #e1de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d161",
  "rgb": {
    "r": 208,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 60.536,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.83758,
    "c": 0.13497,
    "h": 109.5
  },
  "luminance": 0.59874
}

Semantic roles & 50–950 ramp

primary
#D0D161
secondary
#434294
accent
#4ADE4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D0D161

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

Preview Lab → · Contrast checker → · Palette generator →

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