#9F8C19

A color in the Yellow, Gold family

#9f8c19 is a color in the Yellow, Gold family: RGB(159, 140, 25), HSL(51°, 73%, 36%), CMYK(0%, 12%, 84%, 38%). Closest named color: darkgoldenrod. Contrast is 3.37:1 on white and 6.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9f8c19
RGBrgb(159 140 25)
RGB (legacy)rgb(159, 140, 25)
RGB %rgb(62% 55% 10%)
HSLhsl(51 73% 36%)
HSV / HSBhsv(51, 84%, 62%)
HWBhwb(51 10% 38%)
CMYKcmyk(0%, 12%, 84%, 38%)
CIELAB (D50)lab(58.58 -1.12 57.38)
LCHlch(58.58 57.39 91.12)
OKLaboklab(0.6383 -0.0195 0.1239)
OKLCHoklch(0.6383 0.1255 98.94)
Decimal10456089

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 4.2
Closest web-safe color#999900
Hue51°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)36%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)52% / 53%
Relative luminance (WCAG)0.262
Red / Green / Blue159 / 140 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.24: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 / -40.7 · As background with white / black text: Lc -66.4 / 43.1

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