#D1AB36#D1AB36

#D1AB36 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.136 H 90.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#D1AB36
RGBrgb(209, 171, 54)
HSLhsl(45, 63%, 52%)
HSVhsv(45, 74%, 82%)
CMYKcmyk(0%, 18.2%, 74.2%, 18%)
CIE-LABlab(71.52, 2.15, 61.91)
CIE-LCHlch(71.52, 61.94, 88.01°)
OKLaboklab(75.54% -0.0003 0.1364)
OKLCHoklch(75.54% 0.136 90.1)
XYZxyz(41.5257, 42.9501, 9.5923)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AB36 #365CD1
analogous
#D15E36 #D1AB36 #AAD136
triadic
#D1AB36 #36D1AB #AB36D1
tetradic
#D1AB36 #36D15E #365CD1 #D136AA
square
#D1AB36 #36D15E #365CD1 #D136AA
split-complementary
#D1AB36 #36AAD1 #5E36D1
monochromatic
#725D1A #A48526 #D1AB36 #DCC068 #E8D59A

Accessibility & contrast

On white

2.19
#D1AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#D1AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AB36
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AB36#FFFFFF#000000##000000
##D1AB361.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA923
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#E29C94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d1ab36;
/* rgb */ color: rgb(209, 171, 54);
/* oklch */ color: oklch(75.5% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e3c375',
    500: '#d1ab36',
    950: '#000000',
  },
}
SCSS
$custom: #d1ab36;
$custom-light: #e3c375;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ab36",
  "rgb": {
    "r": 209,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 45.29,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75535,
    "c": 0.13644,
    "h": 90.1
  },
  "luminance": 0.42947
}

Semantic roles & 50–950 ramp

primary
#D1AB36
secondary
#8FA0D3
accent
#6AE642
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D1AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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