#D5A940#D5A940

#D5A940 is a light, vivid orange. Relative luminance 0.429; OKLCH L 75.6% C 0.130 H 85.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D5A940
RGBrgb(213, 169, 64)
HSLhsl(42, 64%, 54%)
HSVhsv(42, 70%, 84%)
CMYKcmyk(0%, 20.7%, 70%, 16.5%)
CIE-LABlab(71.48, 5.43, 58.00)
CIE-LCHlch(71.48, 58.26, 84.65°)
OKLaboklab(75.62% 0.0101 0.1299)
OKLCHoklch(75.62% 0.13 85.6)
XYZxyz(42.5564, 42.8951, 10.8876)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A940 #406CD5
analogous
#D55F40 #D5A940 #B6D540
triadic
#D5A940 #40D5A9 #A940D5
tetradic
#D5A940 #40D55F #406CD5 #D540B6
square
#D5A940 #40D55F #406CD5 #D540B6
split-complementary
#D5A940 #40B6D5 #5F40D5
monochromatic
#7F621C #B18827 #D5A940 #E0C072 #EBD6A4

Accessibility & contrast

On white

2.19
#D5A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#D5A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A940
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A940#FFFFFF#000000##000000
##D5A9401.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C7B445
Tritanopia (blue-blind)
#E79A93
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d5a940;
/* rgb */ color: rgb(213, 169, 64);
/* oklch */ color: oklch(75.6% 0.130 85.6);
Tailwind
colors: {
  custom: {
    50: '#e6c27a',
    500: '#d5a940',
    950: '#000000',
  },
}
SCSS
$custom: #d5a940;
$custom-light: #e6c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a940",
  "rgb": {
    "r": 213,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 42.282,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7562,
    "c": 0.13028,
    "h": 85.6
  },
  "luminance": 0.42892
}

Semantic roles & 50–950 ramp

primary
#D5A940
secondary
#99ABD8
accent
#72E741
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D5A940

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

Preview Lab → · Contrast checker → · Palette generator →

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