#D5D161#D5D161

#D5D161 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.134 H 107.1°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D5D161
RGBrgb(213, 209, 97)
HSLhsl(58, 58%, 61%)
HSVhsv(58, 54%, 84%)
CMYKcmyk(0%, 1.9%, 54.5%, 16.5%)
CIE-LABlab(82.17, -13.16, 55.10)
CIE-LCHlch(82.17, 56.65, 103.43°)
OKLaboklab(84.17% -0.0394 0.1284)
OKLCHoklch(84.17% 0.134 107.1)
XYZxyz(52.4002, 60.6116, 20.2459)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D161 #6165D5
analogous
#D59761 #D5D161 #9FD561
triadic
#D5D161 #61D5D1 #D161D5
tetradic
#D5D161 #61D597 #6165D5 #D5619F
square
#D5D161 #61D597 #6165D5 #D5619F
split-complementary
#D5D161 #619FD5 #9761D5
monochromatic
#949027 #C5C034 #D5D161 #E2DF91 #EFEDC2

Accessibility & contrast

On white

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

On black

13.12
#D5D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D161
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D161#FFFFFF#000000##000000
##D5D1611.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d161;
/* rgb */ color: rgb(213, 209, 97);
/* oklch */ color: oklch(84.2% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4de91',
    500: '#d5d161',
    950: '#000000',
  },
}
SCSS
$custom: #d5d161;
$custom-light: #e4de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d161",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 57.931,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84173,
    "c": 0.1343,
    "h": 107.1
  },
  "luminance": 0.6061
}

Semantic roles & 50–950 ramp

primary
#D5D161
secondary
#414499
accent
#26C620
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D161

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

Preview Lab → · Contrast checker → · Palette generator →

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