#D4A840#D4A840

#D4A840 is a light, vivid orange. Relative luminance 0.424; OKLCH L 75.3% C 0.130 H 85.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D4A840
RGBrgb(212, 168, 64)
HSLhsl(42, 63%, 54%)
HSVhsv(42, 70%, 83%)
CMYKcmyk(0%, 20.8%, 69.8%, 16.9%)
CIE-LABlab(71.13, 5.53, 57.61)
CIE-LCHlch(71.13, 57.87, 84.52°)
OKLaboklab(75.32% 0.0104 0.1291)
OKLCHoklch(75.32% 0.13 85.4)
XYZxyz(42.0819, 42.3753, 10.8123)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A840 #406CD4
analogous
#D45E40 #D4A840 #B6D440
triadic
#D4A840 #40D4A8 #A840D4
tetradic
#D4A840 #40D45E #406CD4 #D440B6
square
#D4A840 #40D45E #406CD4 #D440B6
split-complementary
#D4A840 #40B6D4 #5E40D4
monochromatic
#7D601C #AF8727 #D4A840 #DFBF72 #EAD6A4

Accessibility & contrast

On white

2.22
#D4A840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#D4A840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A840
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A840#FFFFFF#000000##000000
##D4A8401.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA733
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#E59992
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d4a840;
/* rgb */ color: rgb(212, 168, 64);
/* oklch */ color: oklch(75.3% 0.130 85.4);
Tailwind
colors: {
  custom: {
    50: '#e5c17a',
    500: '#d4a840',
    950: '#000000',
  },
}
SCSS
$custom: #d4a840;
$custom-light: #e5c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a840",
  "rgb": {
    "r": 212,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 42.162,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75318,
    "c": 0.12951,
    "h": 85.4
  },
  "luminance": 0.42372
}

Semantic roles & 50–950 ramp

primary
#D4A840
secondary
#98ABD7
accent
#73E642
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D4A840

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

Preview Lab → · Contrast checker → · Palette generator →

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