#D4A540#D4A540

#D4A540 is a light, vivid orange. Relative luminance 0.413; OKLCH L 74.7% C 0.128 H 83.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#D4A540
RGBrgb(212, 165, 64)
HSLhsl(41, 63%, 54%)
HSVhsv(41, 70%, 83%)
CMYKcmyk(0%, 22.2%, 69.8%, 16.9%)
CIE-LABlab(70.37, 7.13, 56.83)
CIE-LCHlch(70.37, 57.27, 82.85°)
OKLaboklab(74.72% 0.0151 0.1274)
OKLCHoklch(74.72% 0.128 83.3)
XYZxyz(41.5344, 41.2804, 10.6298)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A540 #406FD4
analogous
#D45B40 #D4A540 #B9D440
triadic
#D4A540 #40D4A5 #A540D4
tetradic
#D4A540 #40D45B #406FD4 #D440B9
square
#D4A540 #40D45B #406FD4 #D440B9
split-complementary
#D4A540 #40B9D4 #5B40D4
monochromatic
#7D5F1C #AF8427 #D4A540 #DFBD72 #EAD4A4

Accessibility & contrast

On white

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

On black

9.26
#D4A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A540
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A540#FFFFFF#000000##000000
##D4A5401.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4a540;
/* rgb */ color: rgb(212, 165, 64);
/* oklch */ color: oklch(74.7% 0.128 83.3);
Tailwind
colors: {
  custom: {
    50: '#e5bf7a',
    500: '#d4a540',
    950: '#000000',
  },
}
SCSS
$custom: #d4a540;
$custom-light: #e5bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a540",
  "rgb": {
    "r": 212,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 40.946,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74723,
    "c": 0.12832,
    "h": 83.3
  },
  "luminance": 0.41277
}

Semantic roles & 50–950 ramp

primary
#D4A540
secondary
#98ACD7
accent
#76E642
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D4A540

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

Preview Lab → · Contrast checker → · Palette generator →

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