#D2A340#D2A340

#D2A340 is a light, vivid orange. Relative luminance 0.403; OKLCH L 74.1% C 0.127 H 82.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D2A340
RGBrgb(210, 163, 64)
HSLhsl(41, 62%, 54%)
HSVhsv(41, 70%, 82%)
CMYKcmyk(0%, 22.4%, 69.5%, 17.6%)
CIE-LABlab(69.66, 7.34, 56.02)
CIE-LCHlch(69.66, 56.50, 82.53°)
OKLaboklab(74.12% 0.0158 0.1258)
OKLCHoklch(74.12% 0.127 82.8)
XYZxyz(40.6034, 40.2690, 10.4836)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A340 #406FD2
analogous
#D25A40 #D2A340 #B8D240
triadic
#D2A340 #40D2A3 #A340D2
tetradic
#D2A340 #40D25A #406FD2 #D240B8
square
#D2A340 #40D25A #406FD2 #D240B8
split-complementary
#D2A340 #40B8D2 #5A40D2
monochromatic
#7B5D1D #AC8229 #D2A340 #DEBB72 #E9D3A3

Accessibility & contrast

On white

2.32
#D2A340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D2A340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A340
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A340#FFFFFF#000000##000000
##D2A3401.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A334
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#E3948E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d2a340;
/* rgb */ color: rgb(210, 163, 64);
/* oklch */ color: oklch(74.1% 0.127 82.8);
Tailwind
colors: {
  custom: {
    50: '#e4be7a',
    500: '#d2a340',
    950: '#000000',
  },
}
SCSS
$custom: #d2a340;
$custom-light: #e4be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a340",
  "rgb": {
    "r": 210,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 40.685,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.12679,
    "h": 82.8
  },
  "luminance": 0.40266
}

Semantic roles & 50–950 ramp

primary
#D2A340
secondary
#98ACD6
accent
#77E543
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2A340

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

Preview Lab → · Contrast checker → · Palette generator →

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