#5D7B21

A color in the Green family

#5d7b21 is a color in the Green family: RGB(93, 123, 33), HSL(80°, 58%, 31%), CMYK(24%, 0%, 73%, 52%). Closest named color: olive. Contrast is 4.86:1 on white and 4.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5d7b21
RGBrgb(93 123 33)
RGB (legacy)rgb(93, 123, 33)
RGB %rgb(36% 48% 13%)
HSLhsl(80 58% 31%)
HSV / HSBhsv(80, 73%, 48%)
HWBhwb(80 13% 52%)
CMYKcmyk(24%, 0%, 73%, 52%)
CIELAB (D50)lab(47.91 -21.64 42.77)
LCHlch(47.91 47.94 116.84)
OKLaboklab(0.5412 -0.0715 0.0974)
OKLCHoklch(0.5412 0.1208 126.29)
Decimal6126369

Properties

Color ToneGreen
Closest named colorolive ΔE 5.3
Closest web-safe color#666633
Hue80°
Saturation (HSL / HSV)58% / 73%
Lightness (HSL)31%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)41% / 43%
Relative luminance (WCAG)0.166
Red / Green / Blue93 / 123 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.32: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 73.6 / -28.1 · As background with white / black text: Lc -79 / 30.5

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: #5d7b21;
  --color-brand-oklch: oklch(54.12% 0.1208 126.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(93 123 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5d7b21] text-[#5d7b21] border-[#5d7b21]">