#D7A938#D7A938

#D7A938 is a light, vivid orange. Relative luminance 0.431; OKLCH L 75.8% C 0.136 H 85.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D7A938
RGBrgb(215, 169, 56)
HSLhsl(43, 67%, 53%)
HSVhsv(43, 74%, 84%)
CMYKcmyk(0%, 21.4%, 74%, 15.7%)
CIE-LABlab(71.63, 5.91, 61.45)
CIE-LCHlch(71.63, 61.74, 84.51°)
OKLaboklab(75.76% 0.0104 0.1356)
OKLCHoklch(75.76% 0.136 85.6)
XYZxyz(42.9287, 43.1115, 9.8009)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A938 #3866D7
analogous
#D75A38 #D7A938 #B5D738
triadic
#D7A938 #38D7A9 #A938D7
tetradic
#D7A938 #38D75A #3866D7 #D738B5
square
#D7A938 #38D75A #3866D7 #D738B5
split-complementary
#D7A938 #38B5D7 #5A38D7
monochromatic
#7C5F19 #AF8623 #D7A938 #E1BF6B #EBD59E

Accessibility & contrast

On white

2.18
#D7A938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#D7A938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A938
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A938#FFFFFF#000000##000000
##D7A9381.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA827
Deuteranopia (green-blind)
#C9B43D
Tritanopia (blue-blind)
#E99A92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d7a938;
/* rgb */ color: rgb(215, 169, 56);
/* oklch */ color: oklch(75.8% 0.136 85.6);
Tailwind
colors: {
  custom: {
    50: '#e8c276',
    500: '#d7a938',
    950: '#000000',
  },
}
SCSS
$custom: #d7a938;
$custom-light: #e8c276;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a938",
  "rgb": {
    "r": 215,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 42.642,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75764,
    "c": 0.13602,
    "h": 85.6
  },
  "luminance": 0.43109
}

Semantic roles & 50–950 ramp

primary
#D7A938
secondary
#93A7D8
accent
#70E93E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A938

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

Preview Lab → · Contrast checker → · Palette generator →

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