#6C8B21

A color in the Green family

#6c8b21 is a color in the Green family: RGB(108, 139, 33), HSL(78°, 62%, 34%), CMYK(22%, 0%, 76%, 45%). Closest named color: olivedrab. Contrast is 3.92:1 on white and 5.35:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6c8b21
RGBrgb(108 139 33)
RGB (legacy)rgb(108, 139, 33)
RGB %rgb(42% 55% 13%)
HSLhsl(78 62% 34%)
HSV / HSBhsv(78, 76%, 55%)
HWBhwb(78 13% 45%)
CMYKcmyk(22%, 0%, 76%, 45%)
CIELAB (D50)lab(53.96 -22.85 48.92)
LCHlch(53.96 54 115.03)
OKLaboklab(0.5925 -0.0768 0.1101)
OKLCHoklch(0.5925 0.1342 124.89)
Decimal7113505

Properties

Color ToneGreen
Closest named colorolivedrab ΔE 0.8
Closest web-safe color#669933
Hue78°
Saturation (HSL / HSV)62% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)46% / 49%
Relative luminance (WCAG)0.2176
Red / Green / Blue108 / 139 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.92:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.35: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.5 / -35.2 · As background with white / black text: Lc -72 / 37.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: #6c8b21;
  --color-brand-oklch: oklch(59.25% 0.1342 124.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6c8b21] text-[#6c8b21] border-[#6c8b21]">