#D2D161#D2D161

#D2D161 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.135 H 108.5°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D2D161
RGBrgb(210, 209, 97)
HSLhsl(59, 56%, 60%)
HSVhsv(59, 54%, 82%)
CMYKcmyk(0%, 0.5%, 53.8%, 17.6%)
CIE-LABlab(81.93, -14.38, 54.77)
CIE-LCHlch(81.93, 56.62, 104.72°)
OKLaboklab(83.92% -0.0428 0.1277)
OKLCHoklch(83.92% 0.135 108.5)
XYZxyz(51.5378, 60.1670, 20.2055)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D161 #6162D2
analogous
#D29861 #D2D161 #9AD261
triadic
#D2D161 #61D2D1 #D161D2
tetradic
#D2D161 #61D298 #6162D2 #D2619A
square
#D2D161 #61D298 #6162D2 #D2619A
split-complementary
#D2D161 #619AD2 #9861D2
monochromatic
#908F29 #BFBE36 #D2D161 #E0DF91 #EDEDC0

Accessibility & contrast

On white

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

On black

13.03
#D2D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D161
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D161#FFFFFF#000000##000000
##D2D1611.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d161;
/* rgb */ color: rgb(210, 209, 97);
/* oklch */ color: oklch(83.9% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2de91',
    500: '#d2d161',
    950: '#000000',
  },
}
SCSS
$custom: #d2d161;
$custom-light: #e2de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d161",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 59.469,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83923,
    "c": 0.13468,
    "h": 108.5
  },
  "luminance": 0.60166
}

Semantic roles & 50–950 ramp

primary
#D2D161
secondary
#424296
accent
#24C322
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D161

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

Preview Lab → · Contrast checker → · Palette generator →

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