#D7AB34#D7AB34

#D7AB34 is a light, vivid orange. Relative luminance 0.438; OKLCH L 76.1% C 0.139 H 87.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#D7AB34
RGBrgb(215, 171, 52)
HSLhsl(44, 67%, 52%)
HSVhsv(44, 76%, 84%)
CMYKcmyk(0%, 20.5%, 75.8%, 15.7%)
CIE-LABlab(72.11, 4.67, 63.42)
CIE-LCHlch(72.11, 63.60, 85.79°)
OKLaboklab(76.13% 0.0064 0.139)
OKLCHoklch(76.13% 0.139 87.4)
XYZxyz(43.2097, 43.8237, 9.4311)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AB34 #3460D7
analogous
#D75A34 #D7AB34 #B1D734
triadic
#D7AB34 #34D7AB #AB34D7
tetradic
#D7AB34 #34D75A #3460D7 #D734B1
square
#D7AB34 #34D75A #3460D7 #D734B1
split-complementary
#D7AB34 #34B1D7 #5A34D7
monochromatic
#795F18 #AC8722 #D7AB34 #E1C067 #EBD59A

Accessibility & contrast

On white

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

On black

9.76
#D7AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AB34
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AB34#FFFFFF#000000##000000
##D7AB341.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ab34;
/* rgb */ color: rgb(215, 171, 52);
/* oklch */ color: oklch(76.1% 0.139 87.4);
Tailwind
colors: {
  custom: {
    50: '#e8c374',
    500: '#d7ab34',
    950: '#000000',
  },
}
SCSS
$custom: #d7ab34;
$custom-light: #e8c374;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ab34",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 43.804,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76133,
    "c": 0.13916,
    "h": 87.4
  },
  "luminance": 0.43821
}

Semantic roles & 50–950 ramp

primary
#D7AB34
secondary
#90A3D7
accent
#6CEA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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