#D5A942#D5A942

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

Color values

HEX#D5A942
RGBrgb(213, 169, 66)
HSLhsl(42, 64%, 55%)
HSVhsv(42, 69%, 84%)
CMYKcmyk(0%, 20.7%, 69%, 16.5%)
CIE-LABlab(71.50, 5.53, 57.17)
CIE-LCHlch(71.50, 57.44, 84.47°)
OKLaboklab(75.64% 0.0106 0.1285)
OKLCHoklch(75.64% 0.129 85.3)
XYZxyz(42.6144, 42.9182, 11.1927)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A942 #426ED5
analogous
#D56042 #D5A942 #B7D542
triadic
#D5A942 #42D5A9 #A942D5
tetradic
#D5A942 #42D560 #426ED5 #D542B7
square
#D5A942 #42D560 #426ED5 #D542B7
split-complementary
#D5A942 #42B7D5 #6042D5
monochromatic
#80621C #B28928 #D5A942 #E0C074 #EBD7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5A942#FFFFFF#000000##000000
##D5A9421.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)
#BDA835
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#E79A94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d5a942;
/* rgb */ color: rgb(213, 169, 66);
/* oklch */ color: oklch(75.6% 0.129 85.3);
Tailwind
colors: {
  custom: {
    50: '#e6c27c',
    500: '#d5a942',
    950: '#000000',
  },
}
SCSS
$custom: #d5a942;
$custom-light: #e6c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a942",
  "rgb": {
    "r": 213,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 42.041,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75638,
    "c": 0.12892,
    "h": 85.3
  },
  "luminance": 0.42915
}

Semantic roles & 50–950 ramp

primary
#D5A942
secondary
#9AADD8
accent
#73E741
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D5A942

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

Preview Lab → · Contrast checker → · Palette generator →

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