#D7A438#D7A438

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

Color values

HEX#D7A438
RGBrgb(215, 164, 56)
HSLhsl(41, 67%, 53%)
HSVhsv(41, 74%, 84%)
CMYKcmyk(0%, 23.7%, 74%, 15.7%)
CIE-LABlab(70.38, 8.58, 60.23)
CIE-LCHlch(70.38, 60.84, 81.90°)
OKLaboklab(74.78% 0.0181 0.133)
OKLCHoklch(74.78% 0.134 82.3)
XYZxyz(42.0163, 41.2866, 9.4968)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A438 #386BD7
analogous
#D75438 #D7A438 #BAD738
triadic
#D7A438 #38D7A4 #A438D7
tetradic
#D7A438 #38D754 #386BD7 #D738BA
square
#D7A438 #38D754 #386BD7 #D738BA
split-complementary
#D7A438 #38BAD7 #5438D7
monochromatic
#7C5C19 #AF8223 #D7A438 #E1BB6B #EBD39E

Accessibility & contrast

On white

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

On black

9.26
#D7A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A438
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A438#FFFFFF#000000##000000
##D7A4381.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7a438;
/* rgb */ color: rgb(215, 164, 56);
/* oklch */ color: oklch(74.8% 0.134 82.3);
Tailwind
colors: {
  custom: {
    50: '#e8be75',
    500: '#d7a438',
    950: '#000000',
  },
}
SCSS
$custom: #d7a438;
$custom-light: #e8be75;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a438",
  "rgb": {
    "r": 215,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 40.755,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74779,
    "c": 0.13423,
    "h": 82.3
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#D7A438
secondary
#93A9D8
accent
#75E93E
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A438

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

Preview Lab → · Contrast checker → · Palette generator →

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