#8F8317

A color in the Yellow, Gold family

#8f8317 is a color in the Yellow, Gold family: RGB(143, 131, 23), HSL(54°, 72%, 33%), CMYK(0%, 8%, 84%, 44%). Closest named color: olive. Contrast is 3.87:1 on white and 5.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8f8317
RGBrgb(143 131 23)
RGB (legacy)rgb(143, 131, 23)
RGB %rgb(56% 51% 9%)
HSLhsl(54 72% 33%)
HSV / HSBhsv(54, 84%, 56%)
HWBhwb(54 9% 44%)
CMYKcmyk(0%, 8%, 84%, 44%)
CIELAB (D50)lab(54.48 -3.75 53.84)
LCHlch(54.48 53.97 93.98)
OKLaboklab(0.6025 -0.0259 0.1168)
OKLCHoklch(0.6025 0.1196 102.5)
Decimal9405207

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 2.8
Closest web-safe color#999900
Hue54°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)33%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)48% / 49%
Relative luminance (WCAG)0.2213
Red / Green / Blue143 / 131 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.87:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.43: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 66 / -35.6 · As background with white / black text: Lc -71.5 / 38.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: #8f8317;
  --color-brand-oklch: oklch(60.25% 0.1196 102.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 131 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8f8317] text-[#8f8317] border-[#8f8317]">