#D2AB52#D2AB52

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

Color values

HEX#D2AB52
RGBrgb(210, 171, 82)
HSLhsl(42, 59%, 57%)
HSVhsv(42, 61%, 82%)
CMYKcmyk(0%, 18.6%, 61%, 17.6%)
CIE-LABlab(71.85, 4.17, 50.24)
CIE-LCHlch(71.85, 50.41, 85.26°)
OKLaboklab(75.89% 0.0089 0.1162)
OKLCHoklch(75.89% 0.117 85.6)
XYZxyz(42.6664, 43.4392, 14.1183)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB52 #5279D2
analogous
#D26B52 #D2AB52 #B9D252
triadic
#D2AB52 #52D2AB #AB52D2
tetradic
#D2AB52 #52D26B #5279D2 #D252B9
square
#D2AB52 #52D26B #5279D2 #D252B9
split-complementary
#D2AB52 #52B9D2 #6B52D2
monochromatic
#876823 #B78E30 #D2AB52 #DFC383 #EBDAB3

Accessibility & contrast

On white

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

On black

9.69
#D2AB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB52
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB52#FFFFFF#000000##000000
##D2AB521.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ab52;
/* rgb */ color: rgb(210, 171, 82);
/* oklch */ color: oklch(75.9% 0.117 85.6);
Tailwind
colors: {
  custom: {
    50: '#e3c386',
    500: '#d2ab52',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab52;
$custom-light: #e3c386;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab52",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 41.719,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.75893,
    "c": 0.11656,
    "h": 85.6
  },
  "luminance": 0.43437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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