#5C7D21

A color in the Green family

#5c7d21 is a color in the Green family: RGB(92, 125, 33), HSL(82°, 58%, 31%), CMYK(26%, 0%, 74%, 51%). Closest named color: olive. Contrast is 4.76:1 on white and 4.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5c7d21
RGBrgb(92 125 33)
RGB (legacy)rgb(92, 125, 33)
RGB %rgb(36% 49% 13%)
HSLhsl(82 58% 31%)
HSV / HSBhsv(82, 74%, 49%)
HWBhwb(82 13% 51%)
CMYKcmyk(26%, 0%, 74%, 51%)
CIELAB (D50)lab(48.48 -22.99 43.29)
LCHlch(48.48 49.02 117.97)
OKLaboklab(0.5456 -0.0753 0.0986)
OKLCHoklch(0.5456 0.124 127.38)
Decimal6061345

Properties

Color ToneGreen
Closest named colorolive ΔE 5.2
Closest web-safe color#666633
Hue82°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)41% / 44%
Relative luminance (WCAG)0.1705
Red / Green / Blue92 / 125 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

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: #5c7d21;
  --color-brand-oklch: oklch(54.56% 0.124 127.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 125 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c7d21] text-[#5c7d21] border-[#5c7d21]">