#D4A040#D4A040

#D4A040 is a light, vivid orange. Relative luminance 0.395; OKLCH L 73.7% C 0.127 H 79.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D4A040
RGBrgb(212, 160, 64)
HSLhsl(39, 63%, 54%)
HSVhsv(39, 70%, 83%)
CMYKcmyk(0%, 24.5%, 69.8%, 16.9%)
CIE-LABlab(69.12, 9.82, 55.53)
CIE-LCHlch(69.12, 56.39, 79.98°)
OKLaboklab(73.74% 0.0229 0.1247)
OKLCHoklch(73.74% 0.127 79.6)
XYZxyz(40.6501, 39.5118, 10.3350)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A040 #4074D4
analogous
#D45640 #D4A040 #BED440
triadic
#D4A040 #40D4A0 #A040D4
tetradic
#D4A040 #40D456 #4074D4 #D440BE
square
#D4A040 #40D456 #4074D4 #D440BE
split-complementary
#D4A040 #40BED4 #5640D4
monochromatic
#7D5B1C #AF8027 #D4A040 #DFB972 #EAD2A4

Accessibility & contrast

On white

2.36
#D4A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D4A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A040
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A040#FFFFFF#000000##000000
##D4A0401.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#E6918C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d4a040;
/* rgb */ color: rgb(212, 160, 64);
/* oklch */ color: oklch(73.7% 0.127 79.6);
Tailwind
colors: {
  custom: {
    50: '#e6bb7a',
    500: '#d4a040',
    950: '#000000',
  },
}
SCSS
$custom: #d4a040;
$custom-light: #e6bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a040",
  "rgb": {
    "r": 212,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 38.919,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.12676,
    "h": 79.6
  },
  "luminance": 0.39509
}

Semantic roles & 50–950 ramp

primary
#D4A040
secondary
#98AFD7
accent
#7BE642
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #D4A040

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

Preview Lab → · Contrast checker → · Palette generator →

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