#D1A540#D1A540

#D1A540 is a light, vivid orange. Relative luminance 0.408; OKLCH L 74.4% C 0.127 H 84.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D1A540
RGBrgb(209, 165, 64)
HSLhsl(42, 61%, 54%)
HSVhsv(42, 69%, 82%)
CMYKcmyk(0%, 21.1%, 69.4%, 18%)
CIE-LABlab(70.06, 5.84, 56.41)
CIE-LCHlch(70.06, 56.71, 84.09°)
OKLaboklab(74.41% 0.0115 0.1267)
OKLCHoklch(74.41% 0.127 84.8)
XYZxyz(40.6774, 40.8385, 10.5896)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A540 #406CD1
analogous
#D15C40 #D1A540 #B4D140
triadic
#D1A540 #40D1A5 #A540D1
tetradic
#D1A540 #40D15C #406CD1 #D140B4
square
#D1A540 #40D15C #406CD1 #D140B4
split-complementary
#D1A540 #40B4D1 #5C40D1
monochromatic
#795D1D #AB8329 #D1A540 #DDBC71 #E9D3A3

Accessibility & contrast

On white

2.29
#D1A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D1A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A540
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A540#FFFFFF#000000##000000
##D1A5401.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#E29790
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d1a540;
/* rgb */ color: rgb(209, 165, 64);
/* oklch */ color: oklch(74.4% 0.127 84.8);
Tailwind
colors: {
  custom: {
    50: '#e3bf7a',
    500: '#d1a540',
    950: '#000000',
  },
}
SCSS
$custom: #d1a540;
$custom-light: #e3bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a540",
  "rgb": {
    "r": 209,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 41.793,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.12718,
    "h": 84.8
  },
  "luminance": 0.40836
}

Semantic roles & 50–950 ramp

primary
#D1A540
secondary
#97AAD5
accent
#74E444
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D1A540

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

Preview Lab → · Contrast checker → · Palette generator →

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