#D5A842#D5A842

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

Color values

HEX#D5A842
RGBrgb(213, 168, 66)
HSLhsl(42, 64%, 55%)
HSVhsv(42, 69%, 84%)
CMYKcmyk(0%, 21.1%, 69%, 16.5%)
CIE-LABlab(71.25, 6.07, 56.91)
CIE-LCHlch(71.25, 57.23, 83.92°)
OKLaboklab(75.44% 0.0122 0.1279)
OKLCHoklch(75.44% 0.129 84.6)
XYZxyz(42.4290, 42.5476, 11.1310)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A842 #426FD5
analogous
#D55F42 #D5A842 #B8D542
triadic
#D5A842 #42D5A8 #A842D5
tetradic
#D5A842 #42D55F #426FD5 #D542B8
square
#D5A842 #42D55F #426FD5 #D542B8
split-complementary
#D5A842 #42B8D5 #5F42D5
monochromatic
#80621C #B28828 #D5A842 #E0BF74 #EBD6A6

Accessibility & contrast

On white

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

On black

9.51
#D5A842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A842
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A842#FFFFFF#000000##000000
##D5A8421.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#E79993
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d5a842;
/* rgb */ color: rgb(213, 168, 66);
/* oklch */ color: oklch(75.4% 0.129 84.6);
Tailwind
colors: {
  custom: {
    50: '#e6c17b',
    500: '#d5a842',
    950: '#000000',
  },
}
SCSS
$custom: #d5a842;
$custom-light: #e6c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a842",
  "rgb": {
    "r": 213,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 41.633,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.12851,
    "h": 84.6
  },
  "luminance": 0.42545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5A842

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

Preview Lab → · Contrast checker → · Palette generator →

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