Skip to content

Dark Goldenrod

Hex #B8860B, rgb(184 134 11). A brown CSS named color.

Open in palette generator

Dark Goldenrod color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Dark Goldenrod

Dark Goldenrod is a medium saturated brown with the hex code #B8860B. In RGB it is made of 184 red, 134 green and 11 blue; in HSL its hue is 43°, with 89% saturation and 38% lightness. Its perceptual lightness (OKLCH L) is 65.2%.

It is a CSS named color, so you can write "darkgoldenrod" anywhere CSS accepts a color. Against white it has a contrast ratio of 3.25:1 and against black 6.45:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Dark Goldenrod mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Dark Goldenrod 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Dark Goldenrod

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Contrast and readability

WCAG 2 contrast of Dark Goldenrod with white and black. The readable text color on Dark Goldenrod is black.

Dark Goldenrod textSmall text on white

On white3.25:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 60

Dark Goldenrod textSmall text on black

On black6.45:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -42

Black text on Dark Goldenrod (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Dark Goldenrod appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#9A8700
  • Deuteranopia#A69416
  • Tritanopia#C97772
  • Protanomaly#A38800
  • Deuteranomaly#AA9010
  • Tritanomaly#BF804F
  • Achromatopsia#8F8F8F

Colors similar to Dark Goldenrod

The closest named colors by perceptual difference (OKLab).

Use Dark Goldenrod in CSS and Tailwind

CSS
.dark-goldenrod {
  color: darkgoldenrod; /* #B8860B */
  background-color: rgb(184 134 11);
  border-color: oklch(65.2% 0.132 81.6);
}
Tailwind CSS
/* Tailwind CSS v4: bg-dark-goldenrod-500, text-dark-goldenrod-700... */
@theme {
  --color-dark-goldenrod-50: #FDFAF3;
  --color-dark-goldenrod-100: #F6EDDF;
  --color-dark-goldenrod-200: #EBDCC1;
  --color-dark-goldenrod-300: #DDC18F;
  --color-dark-goldenrod-400: #C89D4A;
  --color-dark-goldenrod-500: #B8860B;
  --color-dark-goldenrod-600: #9E7200;
  --color-dark-goldenrod-700: #7F5B00;
  --color-dark-goldenrod-800: #654800;
  --color-dark-goldenrod-900: #523900;
  --color-dark-goldenrod-950: #1F1400;
}

<!-- or the exact color, no config -->
<div class="bg-[#B8860B] text-[#000000]">…</div>