#9B8708

A color in the Yellow, Gold family

#9b8708 is a color in the Yellow, Gold family: RGB(155, 135, 8), HSL(52°, 90%, 32%), CMYK(0%, 13%, 95%, 39%). Closest named color: darkgoldenrod. Contrast is 3.58:1 on white and 5.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9b8708
RGBrgb(155 135 8)
RGB (legacy)rgb(155, 135, 8)
RGB %rgb(61% 53% 3%)
HSLhsl(52 90% 32%)
HSV / HSBhsv(52, 95%, 61%)
HWBhwb(52 3% 39%)
CMYKcmyk(0%, 13%, 95%, 39%)
CIELAB (D50)lab(56.76 -0.6 59.32)
LCHlch(56.76 59.33 90.58)
OKLaboklab(0.6228 -0.0189 0.1257)
OKLCHoklch(0.6228 0.1271 98.54)
Decimal10192648

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 4.8
Closest web-safe color#999900
Hue52°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)32%
Brightness or Value (HSV)61%
Luminance (Rec.601 / Rec.709)50% / 51%
Relative luminance (WCAG)0.2431
Red / Green / Blue155 / 135 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.58:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 63.2 / -38.4 · As background with white / black text: Lc -68.7 / 40.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9b8708;
  --color-brand-oklch: oklch(62.28% 0.1271 98.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(155 135 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9b8708] text-[#9b8708] border-[#9b8708]">