#D2AB40#D2AB40

#D2AB40 is a light, vivid orange. Relative luminance 0.432; OKLCH L 75.7% C 0.130 H 88.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D2AB40
RGBrgb(210, 171, 64)
HSLhsl(44, 62%, 54%)
HSVhsv(44, 70%, 82%)
CMYKcmyk(0%, 18.6%, 69.5%, 17.6%)
CIE-LABlab(71.69, 3.07, 58.12)
CIE-LCHlch(71.69, 58.20, 86.98°)
OKLaboklab(75.71% 0.0034 0.1303)
OKLCHoklch(75.71% 0.13 88.5)
XYZxyz(42.0690, 43.2002, 10.9722)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB40 #4067D2
analogous
#D26240 #D2AB40 #B0D240
triadic
#D2AB40 #40D2AB #AB40D2
tetradic
#D2AB40 #40D262 #4067D2 #D240B0
square
#D2AB40 #40D262 #4067D2 #D240B0
split-complementary
#D2AB40 #40B0D2 #6240D2
monochromatic
#7B621D #AC8929 #D2AB40 #DEC172 #E9D7A3

Accessibility & contrast

On white

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

On black

9.64
#D2AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB40
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB40#FFFFFF#000000##000000
##D2AB401.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA932
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#E39D95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d2ab40;
/* rgb */ color: rgb(210, 171, 64);
/* oklch */ color: oklch(75.7% 0.130 88.5);
Tailwind
colors: {
  custom: {
    50: '#e4c37b',
    500: '#d2ab40',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab40;
$custom-light: #e4c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab40",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 43.973,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75714,
    "c": 0.1303,
    "h": 88.5
  },
  "luminance": 0.43198
}

Semantic roles & 50–950 ramp

primary
#D2AB40
secondary
#98A8D6
accent
#6EE543
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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