#D5A342#D5A342

#D5A342 is a light, vivid orange. Relative luminance 0.407; OKLCH L 74.5% C 0.127 H 81.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#D5A342
RGBrgb(213, 163, 66)
HSLhsl(40, 64%, 55%)
HSVhsv(40, 69%, 84%)
CMYKcmyk(0%, 23.5%, 69%, 16.5%)
CIE-LABlab(69.99, 8.74, 55.60)
CIE-LCHlch(69.99, 56.28, 81.06°)
OKLaboklab(74.45% 0.0199 0.1251)
OKLCHoklch(74.45% 0.127 81)
XYZxyz(41.5237, 40.7368, 10.8292)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A342 #4274D5
analogous
#D55A42 #D5A342 #BDD542
triadic
#D5A342 #42D5A3 #A342D5
tetradic
#D5A342 #42D55A #4274D5 #D542BD
square
#D5A342 #42D55A #4274D5 #D542BD
split-complementary
#D5A342 #42BDD5 #5A42D5
monochromatic
#805E1C #B28328 #D5A342 #E0BB74 #EBD4A6

Accessibility & contrast

On white

2.30
#D5A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#D5A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A342
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A342#FFFFFF#000000##000000
##D5A3421.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A436
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#E7948F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d5a342;
/* rgb */ color: rgb(213, 163, 66);
/* oklch */ color: oklch(74.5% 0.127 81.0);
Tailwind
colors: {
  custom: {
    50: '#e6be7b',
    500: '#d5a342',
    950: '#000000',
  },
}
SCSS
$custom: #d5a342;
$custom-light: #e6be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a342",
  "rgb": {
    "r": 213,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 39.592,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.12672,
    "h": 81
  },
  "luminance": 0.40734
}

Semantic roles & 50–950 ramp

primary
#D5A342
secondary
#9AAFD8
accent
#79E741
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D5A342

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

Preview Lab → · Contrast checker → · Palette generator →

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