#D5A538#D5A538

#D5A538 is a light, vivid orange. Relative luminance 0.413; OKLCH L 74.8% C 0.134 H 83.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D5A538
RGBrgb(213, 165, 56)
HSLhsl(42, 65%, 53%)
HSVhsv(42, 74%, 84%)
CMYKcmyk(0%, 22.5%, 73.7%, 16.5%)
CIE-LABlab(70.42, 7.18, 60.20)
CIE-LCHlch(70.42, 60.62, 83.20°)
OKLaboklab(74.76% 0.0142 0.133)
OKLCHoklch(74.76% 0.134 83.9)
XYZxyz(41.6121, 41.3449, 9.5293)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A538 #3868D5
analogous
#D55638 #D5A538 #B6D538
triadic
#D5A538 #38D5A5 #A538D5
tetradic
#D5A538 #38D556 #3868D5 #D538B6
square
#D5A538 #38D556 #3868D5 #D538B6
split-complementary
#D5A538 #38B6D5 #5638D5
monochromatic
#795C1A #AC8224 #D5A538 #E0BC6B #EAD39D

Accessibility & contrast

On white

2.27
#D5A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D5A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A538
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A538#FFFFFF#000000##000000
##D5A5381.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA528
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#E7968F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d5a538;
/* rgb */ color: rgb(213, 165, 56);
/* oklch */ color: oklch(74.8% 0.134 83.9);
Tailwind
colors: {
  custom: {
    50: '#e6bf76',
    500: '#d5a538',
    950: '#000000',
  },
}
SCSS
$custom: #d5a538;
$custom-light: #e6bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a538",
  "rgb": {
    "r": 213,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 41.656,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74763,
    "c": 0.13378,
    "h": 83.9
  },
  "luminance": 0.41342
}

Semantic roles & 50–950 ramp

primary
#D5A538
secondary
#92A7D6
accent
#73E840
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D5A538

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

Preview Lab → · Contrast checker → · Palette generator →

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