#D7AB38#D7AB38

#D7AB38 is a light, vivid orange. Relative luminance 0.439; OKLCH L 76.2% C 0.137 H 86.9°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#D7AB38
RGBrgb(215, 171, 56)
HSLhsl(43, 67%, 53%)
HSVhsv(43, 74%, 84%)
CMYKcmyk(0%, 20.5%, 74%, 15.7%)
CIE-LABlab(72.14, 4.84, 61.95)
CIE-LCHlch(72.14, 62.14, 85.53°)
OKLaboklab(76.16% 0.0073 0.1367)
OKLCHoklch(76.16% 0.137 86.9)
XYZxyz(43.3037, 43.8613, 9.9259)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AB38 #3864D7
analogous
#D75B38 #D7AB38 #B4D738
triadic
#D7AB38 #38D7AB #AB38D7
tetradic
#D7AB38 #38D75B #3864D7 #D738B4
square
#D7AB38 #38D75B #3864D7 #D738B4
split-complementary
#D7AB38 #38B4D7 #5B38D7
monochromatic
#7C6019 #AF8823 #D7AB38 #E1C16B #EBD69E

Accessibility & contrast

On white

2.15
#D7AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#D7AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AB38
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AB38#FFFFFF#000000##000000
##D7AB381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA26
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#E99C94
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d7ab38;
/* rgb */ color: rgb(215, 171, 56);
/* oklch */ color: oklch(76.2% 0.137 86.9);
Tailwind
colors: {
  custom: {
    50: '#e8c376',
    500: '#d7ab38',
    950: '#000000',
  },
}
SCSS
$custom: #d7ab38;
$custom-light: #e8c376;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ab38",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 43.396,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.13686,
    "h": 86.9
  },
  "luminance": 0.43858
}

Semantic roles & 50–950 ramp

primary
#D7AB38
secondary
#93A6D8
accent
#6EE93E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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