#D2AB51#D2AB51

#D2AB51 is a light, moderate orange. Relative luminance 0.434; OKLCH L 75.9% C 0.117 H 85.8°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D2AB51
RGBrgb(210, 171, 81)
HSLhsl(42, 59%, 57%)
HSVhsv(42, 61%, 82%)
CMYKcmyk(0%, 18.6%, 61.4%, 17.6%)
CIE-LABlab(71.84, 4.10, 50.70)
CIE-LCHlch(71.84, 50.87, 85.38°)
OKLaboklab(75.88% 0.0086 0.1171)
OKLCHoklch(75.88% 0.117 85.8)
XYZxyz(42.6286, 43.4241, 13.9194)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB51 #5178D2
analogous
#D26A51 #D2AB51 #B9D251
triadic
#D2AB51 #51D2AB #AB51D2
tetradic
#D2AB51 #51D26A #5178D2 #D251B9
square
#D2AB51 #51D26A #5178D2 #D251B9
split-complementary
#D2AB51 #51B9D2 #6A51D2
monochromatic
#866823 #B78E2F #D2AB51 #DFC282 #EBDAB2

Accessibility & contrast

On white

2.17
#D2AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#D2AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB51
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB51#FFFFFF#000000##000000
##D2AB511.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#C7B454
Tritanopia (blue-blind)
#E29E97
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d2ab51;
/* rgb */ color: rgb(210, 171, 81);
/* oklch */ color: oklch(75.9% 0.117 85.8);
Tailwind
colors: {
  custom: {
    50: '#e3c385',
    500: '#d2ab51',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab51;
$custom-light: #e3c385;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab51",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 41.86,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.75882,
    "c": 0.11739,
    "h": 85.8
  },
  "luminance": 0.43422
}

Semantic roles & 50–950 ramp

primary
#D2AB51
secondary
#A5B5DA
accent
#75E246
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #D2AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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