#D2AB3B#D2AB3B

#D2AB3B is a light, vivid orange. Relative luminance 0.431; OKLCH L 75.7% C 0.134 H 89.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#D2AB3B
RGBrgb(210, 171, 59)
HSLhsl(45, 63%, 53%)
HSVhsv(45, 72%, 82%)
CMYKcmyk(0%, 18.6%, 71.9%, 17.6%)
CIE-LABlab(71.65, 2.82, 60.13)
CIE-LCHlch(71.65, 60.19, 87.32°)
OKLaboklab(75.67% 0.0021 0.1336)
OKLCHoklch(75.67% 0.134 89.1)
XYZxyz(41.9331, 43.1459, 10.2562)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB3B #3B62D2
analogous
#D25F3B #D2AB3B #AED23B
triadic
#D2AB3B #3BD2AB #AB3BD2
tetradic
#D2AB3B #3BD25F #3B62D2 #D23BAE
square
#D2AB3B #3BD25F #3B62D2 #D23BAE
split-complementary
#D2AB3B #3BAED2 #5F3BD2
monochromatic
#77601B #A98727 #D2AB3B #DDC06D #E9D69F

Accessibility & contrast

On white

2.18
#D2AB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#D2AB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB3B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB3B#FFFFFF#000000##000000
##D2AB3B1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92B
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#E39D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d2ab3b;
/* rgb */ color: rgb(210, 171, 59);
/* oklch */ color: oklch(75.7% 0.134 89.1);
Tailwind
colors: {
  custom: {
    50: '#e4c378',
    500: '#d2ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab3b;
$custom-light: #e4c378;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab3b",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 44.503,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75673,
    "c": 0.13361,
    "h": 89.1
  },
  "luminance": 0.43143
}

Semantic roles & 50–950 ramp

primary
#D2AB3B
secondary
#94A5D5
accent
#6CE642
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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