#D9AB38#D9AB38

#D9AB38 is a light, vivid orange. Relative luminance 0.442; OKLCH L 76.4% C 0.137 H 86.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#D9AB38
RGBrgb(217, 171, 56)
HSLhsl(43, 68%, 54%)
HSVhsv(43, 74%, 85%)
CMYKcmyk(0%, 21.2%, 74.2%, 14.9%)
CIE-LABlab(72.34, 5.71, 62.21)
CIE-LCHlch(72.34, 62.48, 84.76°)
OKLaboklab(76.37% 0.0097 0.1372)
OKLCHoklch(76.37% 0.137 86)
XYZxyz(43.8947, 44.1661, 9.9536)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9AB38 #3866D9
analogous
#D95A38 #D9AB38 #B6D938
triadic
#D9AB38 #38D9AB #AB38D9
tetradic
#D9AB38 #38D95A #3866D9 #D938B6
square
#D9AB38 #38D95A #3866D9 #D938B6
split-complementary
#D9AB38 #38B6D9 #5A38D9
monochromatic
#7E6118 #B28922 #D9AB38 #E3C16B #EDD69F

Accessibility & contrast

On white

2.14
#D9AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#D9AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9AB38
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9AB38#FFFFFF#000000##000000
##D9AB381.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA26
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#EB9C94
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d9ab38;
/* rgb */ color: rgb(217, 171, 56);
/* oklch */ color: oklch(76.4% 0.137 86.0);
Tailwind
colors: {
  custom: {
    50: '#e9c376',
    500: '#d9ab38',
    950: '#000000',
  },
}
SCSS
$custom: #d9ab38;
$custom-light: #e9c376;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ab38",
  "rgb": {
    "r": 217,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 42.857,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76368,
    "c": 0.13749,
    "h": 86
  },
  "luminance": 0.44163
}

Semantic roles & 50–950 ramp

primary
#D9AB38
secondary
#94A8D9
accent
#6FEB3D
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D9AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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