#D1A640#D1A640

#D1A640 is a light, vivid orange. Relative luminance 0.412; OKLCH L 74.6% C 0.128 H 85.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D1A640
RGBrgb(209, 166, 64)
HSLhsl(42, 61%, 54%)
HSVhsv(42, 69%, 82%)
CMYKcmyk(0%, 20.6%, 69.4%, 18%)
CIE-LABlab(70.32, 5.30, 56.67)
CIE-LCHlch(70.32, 56.92, 84.65°)
OKLaboklab(74.61% 0.01 0.1272)
OKLCHoklch(74.61% 0.128 85.5)
XYZxyz(40.8585, 41.2006, 10.6500)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A640 #406BD1
analogous
#D15D40 #D1A640 #B3D140
triadic
#D1A640 #40D1A6 #A640D1
tetradic
#D1A640 #40D15D #406BD1 #D140B3
square
#D1A640 #40D15D #406BD1 #D140B3
split-complementary
#D1A640 #40B3D1 #5D40D1
monochromatic
#795E1D #AB8429 #D1A640 #DDBD71 #E9D4A3

Accessibility & contrast

On white

2.27
#D1A640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#D1A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A640
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A640#FFFFFF#000000##000000
##D1A6401.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#E29891
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d1a640;
/* rgb */ color: rgb(209, 166, 64);
/* oklch */ color: oklch(74.6% 0.128 85.5);
Tailwind
colors: {
  custom: {
    50: '#e3c07a',
    500: '#d1a640',
    950: '#000000',
  },
}
SCSS
$custom: #d1a640;
$custom-light: #e3c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a640",
  "rgb": {
    "r": 209,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 42.207,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.12761,
    "h": 85.5
  },
  "luminance": 0.41198
}

Semantic roles & 50–950 ramp

primary
#D1A640
secondary
#97AAD5
accent
#73E444
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D1A640

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

Preview Lab → · Contrast checker → · Palette generator →

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