#9B8C19

A color in the Yellow, Gold family

#9b8c19 is a color in the Yellow, Gold family: RGB(155, 140, 25), HSL(53°, 72%, 35%), CMYK(0%, 10%, 84%, 39%). Closest named color: darkgoldenrod. Contrast is 3.41:1 on white and 6.16:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9b8c19
RGBrgb(155 140 25)
RGB (legacy)rgb(155, 140, 25)
RGB %rgb(61% 55% 10%)
HSLhsl(53 72% 35%)
HSV / HSBhsv(53, 84%, 61%)
HWBhwb(53 10% 39%)
CMYKcmyk(0%, 10%, 84%, 39%)
CIELAB (D50)lab(58.18 -2.92 56.87)
LCHlch(58.18 56.94 92.94)
OKLaboklab(0.6344 -0.0244 0.1231)
OKLCHoklch(0.6344 0.1255 101.23)
Decimal10193945

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 4.8
Closest web-safe color#999900
Hue53°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)35%
Brightness or Value (HSV)61%
Luminance (Rec.601 / Rec.709)52% / 53%
Relative luminance (WCAG)0.2579
Red / Green / Blue155 / 140 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.16: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 61.5 / -40.2 · As background with white / black text: Lc -66.9 / 42.6

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: #9b8c19;
  --color-brand-oklch: oklch(63.44% 0.1255 101.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(155 140 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9b8c19] text-[#9b8c19] border-[#9b8c19]">