#D4AB31#D4AB31

#D4AB31 is a light, vivid orange. Relative luminance 0.433; OKLCH L 75.8% C 0.140 H 89.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#D4AB31
RGBrgb(212, 171, 49)
HSLhsl(45, 65%, 51%)
HSVhsv(45, 77%, 83%)
CMYKcmyk(0%, 19.3%, 76.9%, 16.9%)
CIE-LABlab(71.79, 3.25, 64.09)
CIE-LCHlch(71.79, 64.18, 87.10°)
OKLaboklab(75.81% 0.0022 0.14)
OKLCHoklch(75.81% 0.14 89.1)
XYZxyz(42.2712, 43.3474, 9.0456)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AB31 #315AD4
analogous
#D45931 #D4AB31 #ABD431
triadic
#D4AB31 #31D4AB #AB31D4
tetradic
#D4AB31 #31D459 #315AD4 #D431AB
square
#D4AB31 #31D459 #315AD4 #D431AB
split-complementary
#D4AB31 #31ABD4 #5931D4
monochromatic
#735C18 #A58423 #D4AB31 #DFC064 #E9D496

Accessibility & contrast

On white

2.17
#D4AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#D4AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AB31
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AB31#FFFFFF#000000##000000
##D4AB311.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#C9B538
Tritanopia (blue-blind)
#E69C94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d4ab31;
/* rgb */ color: rgb(212, 171, 49);
/* oklch */ color: oklch(75.8% 0.140 89.1);
Tailwind
colors: {
  custom: {
    50: '#e6c372',
    500: '#d4ab31',
    950: '#000000',
  },
}
SCSS
$custom: #d4ab31;
$custom-light: #e6c372;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ab31",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 44.908,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75806,
    "c": 0.13998,
    "h": 89.1
  },
  "luminance": 0.43345
}

Semantic roles & 50–950 ramp

primary
#D4AB31
secondary
#8C9FD4
accent
#6AE83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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