#D4D161#D4D161

#D4D161 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.134 H 107.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D4D161
RGBrgb(212, 209, 97)
HSLhsl(58, 57%, 61%)
HSVhsv(58, 54%, 83%)
CMYKcmyk(0%, 1.4%, 54.2%, 16.9%)
CIE-LABlab(82.09, -13.57, 54.99)
CIE-LCHlch(82.09, 56.64, 103.86°)
OKLaboklab(84.09% -0.0406 0.1282)
OKLCHoklch(84.09% 0.134 107.6)
XYZxyz(52.1110, 60.4625, 20.2323)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D161 #6164D4
analogous
#D49761 #D4D161 #9DD461
triadic
#D4D161 #61D4D1 #D161D4
tetradic
#D4D161 #61D497 #6164D4 #D4619D
square
#D4D161 #61D497 #6164D4 #D4619D
split-complementary
#D4D161 #619DD4 #9761D4
monochromatic
#939028 #C3BF35 #D4D161 #E1DF91 #EEEDC1

Accessibility & contrast

On white

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

On black

13.09
#D4D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D161
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D161#FFFFFF#000000##000000
##D4D1611.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d161;
/* rgb */ color: rgb(212, 209, 97);
/* oklch */ color: oklch(84.1% 0.134 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4de91',
    500: '#d4d161',
    950: '#000000',
  },
}
SCSS
$custom: #d4d161;
$custom-light: #e4de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d161",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 58.435,
    "s": 57.214,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8409,
    "c": 0.13443,
    "h": 107.6
  },
  "luminance": 0.60461
}

Semantic roles & 50–950 ramp

primary
#D4D161
secondary
#414398
accent
#25C521
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D161

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

Preview Lab → · Contrast checker → · Palette generator →

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