#D7A838#D7A838

#D7A838 is a light, vivid orange. Relative luminance 0.427; OKLCH L 75.6% C 0.136 H 85.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D7A838
RGBrgb(215, 168, 56)
HSLhsl(42, 67%, 53%)
HSVhsv(42, 74%, 84%)
CMYKcmyk(0%, 21.9%, 74%, 15.7%)
CIE-LABlab(71.38, 6.44, 61.21)
CIE-LCHlch(71.38, 61.55, 83.99°)
OKLaboklab(75.57% 0.0119 0.1351)
OKLCHoklch(75.57% 0.136 85)
XYZxyz(42.7434, 42.7408, 9.7391)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A838 #3867D7
analogous
#D75838 #D7A838 #B6D738
triadic
#D7A838 #38D7A8 #A838D7
tetradic
#D7A838 #38D758 #3867D7 #D738B6
square
#D7A838 #38D758 #3867D7 #D738B6
split-complementary
#D7A838 #38B6D7 #5838D7
monochromatic
#7C5F19 #AF8523 #D7A838 #E1BE6B #EBD59E

Accessibility & contrast

On white

2.20
#D7A838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D7A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A838
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A838#FFFFFF#000000##000000
##D7A8381.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA827
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#E99992
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d7a838;
/* rgb */ color: rgb(215, 168, 56);
/* oklch */ color: oklch(75.6% 0.136 85.0);
Tailwind
colors: {
  custom: {
    50: '#e8c176',
    500: '#d7a838',
    950: '#000000',
  },
}
SCSS
$custom: #d7a838;
$custom-light: #e8c176;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a838",
  "rgb": {
    "r": 215,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 42.264,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75566,
    "c": 0.13562,
    "h": 85
  },
  "luminance": 0.42738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7A838

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

Preview Lab → · Contrast checker → · Palette generator →

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