#D3A538#D3A538

#D3A538 is a light, vivid orange. Relative luminance 0.410; OKLCH L 74.6% C 0.133 H 84.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D3A538
RGBrgb(211, 165, 56)
HSLhsl(42, 64%, 52%)
HSVhsv(42, 73%, 83%)
CMYKcmyk(0%, 21.8%, 73.5%, 17.3%)
CIE-LABlab(70.21, 6.31, 59.92)
CIE-LCHlch(70.21, 60.25, 83.99°)
OKLaboklab(74.55% 0.0118 0.1325)
OKLCHoklch(74.55% 0.133 84.9)
XYZxyz(41.0354, 41.0475, 9.5023)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A538 #3866D3
analogous
#D35838 #D3A538 #B3D338
triadic
#D3A538 #38D3A5 #A538D3
tetradic
#D3A538 #38D358 #3866D3 #D338B3
square
#D3A538 #38D358 #3866D3 #D338B3
split-complementary
#D3A538 #38B3D3 #5838D3
monochromatic
#765B1A #A98225 #D3A538 #DEBC6A #E9D29C

Accessibility & contrast

On white

2.28
#D3A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D3A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A538
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A538#FFFFFF#000000##000000
##D3A5381.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A528
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#E5968F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d3a538;
/* rgb */ color: rgb(211, 165, 56);
/* oklch */ color: oklch(74.6% 0.133 84.9);
Tailwind
colors: {
  custom: {
    50: '#e5bf75',
    500: '#d3a538',
    950: '#000000',
  },
}
SCSS
$custom: #d3a538;
$custom-light: #e5bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a538",
  "rgb": {
    "r": 211,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 42.194,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74553,
    "c": 0.13306,
    "h": 84.9
  },
  "luminance": 0.41045
}

Semantic roles & 50–950 ramp

primary
#D3A538
secondary
#92A6D5
accent
#72E741
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D3A538

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

Preview Lab → · Contrast checker → · Palette generator →

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