#D5A840#D5A840

#D5A840 is a light, vivid orange. Relative luminance 0.425; OKLCH L 75.4% C 0.130 H 84.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D5A840
RGBrgb(213, 168, 64)
HSLhsl(42, 64%, 54%)
HSVhsv(42, 70%, 84%)
CMYKcmyk(0%, 21.1%, 70%, 16.5%)
CIE-LABlab(71.23, 5.96, 57.74)
CIE-LCHlch(71.23, 58.05, 84.11°)
OKLaboklab(75.42% 0.0116 0.1293)
OKLCHoklch(75.42% 0.13 84.9)
XYZxyz(42.3711, 42.5244, 10.8258)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A840 #406DD5
analogous
#D55E40 #D5A840 #B8D540
triadic
#D5A840 #40D5A8 #A840D5
tetradic
#D5A840 #40D55E #406DD5 #D540B8
square
#D5A840 #40D55E #406DD5 #D540B8
split-complementary
#D5A840 #40B8D5 #5E40D5
monochromatic
#7F611C #B18727 #D5A840 #E0BF72 #EBD6A4

Accessibility & contrast

On white

2.21
#D5A840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#D5A840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A840
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A840#FFFFFF#000000##000000
##D5A8401.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA833
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#E79992
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d5a840;
/* rgb */ color: rgb(213, 168, 64);
/* oklch */ color: oklch(75.4% 0.130 84.9);
Tailwind
colors: {
  custom: {
    50: '#e6c17a',
    500: '#d5a840',
    950: '#000000',
  },
}
SCSS
$custom: #d5a840;
$custom-light: #e6c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a840",
  "rgb": {
    "r": 213,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 41.879,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.12986,
    "h": 84.9
  },
  "luminance": 0.42522
}

Semantic roles & 50–950 ramp

primary
#D5A840
secondary
#99ACD8
accent
#73E741
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D5A840

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

Preview Lab → · Contrast checker → · Palette generator →

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