#D9A538#D9A538

#D9A538 is a light, vivid orange. Relative luminance 0.419; OKLCH L 75.2% C 0.135 H 82.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#D9A538
RGBrgb(217, 165, 56)
HSLhsl(41, 68%, 54%)
HSVhsv(41, 74%, 85%)
CMYKcmyk(0%, 24%, 74.2%, 14.9%)
CIE-LABlab(70.84, 8.90, 60.75)
CIE-LCHlch(70.84, 61.40, 81.66°)
OKLaboklab(75.19% 0.0189 0.134)
OKLCHoklch(75.19% 0.135 82)
XYZxyz(42.7870, 41.9507, 9.5844)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A538 #386CD9
analogous
#D95438 #D9A538 #BCD938
triadic
#D9A538 #38D9A5 #A538D9
tetradic
#D9A538 #38D954 #386CD9 #D938BC
square
#D9A538 #38D954 #386CD9 #D938BC
split-complementary
#D9A538 #38BCD9 #5438D9
monochromatic
#7E5D18 #B28322 #D9A538 #E3BC6B #EDD39F

Accessibility & contrast

On white

2.24
#D9A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#D9A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A538
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A538#FFFFFF#000000##000000
##D9A5381.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA628
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#EC958F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d9a538;
/* rgb */ color: rgb(217, 165, 56);
/* oklch */ color: oklch(75.2% 0.135 82.0);
Tailwind
colors: {
  custom: {
    50: '#e9bf76',
    500: '#d9a538',
    950: '#000000',
  },
}
SCSS
$custom: #d9a538;
$custom-light: #e9bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a538",
  "rgb": {
    "r": 217,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 40.621,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.13536,
    "h": 82
  },
  "luminance": 0.41948
}

Semantic roles & 50–950 ramp

primary
#D9A538
secondary
#94AAD9
accent
#75EB3D
background
#FFFBF7
surface
#FEF6ED
border
#D6D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D9A538

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

Preview Lab → · Contrast checker → · Palette generator →

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