#5C8317

A color in the Green family

#5c8317 is a color in the Green family: RGB(92, 131, 23), HSL(82°, 70%, 30%), CMYK(30%, 0%, 82%, 49%). Closest named color: olivedrab. Contrast is 4.45:1 on white and 4.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5c8317
RGBrgb(92 131 23)
RGB (legacy)rgb(92, 131, 23)
RGB %rgb(36% 51% 9%)
HSLhsl(82 70% 30%)
HSV / HSBhsv(82, 82%, 51%)
HWBhwb(82 9% 49%)
CMYKcmyk(30%, 0%, 82%, 49%)
CIELAB (D50)lab(50.34 -26.12 48.38)
LCHlch(50.34 54.99 118.36)
OKLaboklab(0.5605 -0.0855 0.108)
OKLCHoklch(0.5605 0.1377 128.38)
Decimal6062871

Properties

Color ToneGreen
Closest named colorolivedrab ΔE 3.9
Closest web-safe color#669900
Hue82°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)30%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)42% / 45%
Relative luminance (WCAG)0.1857
Red / Green / Blue92 / 131 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.71: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 70.7 / -30.9 · As background with white / black text: Lc -76.2 / 33.4

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: #5c8317;
  --color-brand-oklch: oklch(56.05% 0.1377 128.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 131 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c8317] text-[#5c8317] border-[#5c8317]">