#5D7E21

A color in the Green family

#5d7e21 is a color in the Green family: RGB(93, 126, 33), HSL(81°, 58%, 31%), CMYK(26%, 0%, 74%, 51%). Closest named color: olive. Contrast is 4.7:1 on white and 4.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5d7e21
RGBrgb(93 126 33)
RGB (legacy)rgb(93, 126, 33)
RGB %rgb(36% 49% 13%)
HSLhsl(81 58% 31%)
HSV / HSBhsv(81, 74%, 49%)
HWBhwb(81 13% 51%)
CMYKcmyk(26%, 0%, 74%, 51%)
CIELAB (D50)lab(48.86 -23.04 43.69)
LCHlch(48.86 49.39 117.8)
OKLaboklab(0.5489 -0.0756 0.0994)
OKLCHoklch(0.5489 0.1248 127.25)
Decimal6127137

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.70:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.47: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.5 / -29.2 · As background with white / black text: Lc -77.9 / 31.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: #5d7e21;
  --color-brand-oklch: oklch(54.89% 0.1248 127.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(93 126 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5d7e21] text-[#5d7e21] border-[#5d7e21]">