#5D9821

A color in the Green family

#5d9821 is a color in the Green family: RGB(93, 152, 33), HSL(90°, 64%, 36%), CMYK(39%, 0%, 78%, 40%). Closest named color: olivedrab. Contrast is 3.51:1 on white and 5.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5d9821
RGBrgb(93 152 33)
RGB (legacy)rgb(93, 152, 33)
RGB %rgb(36% 60% 13%)
HSLhsl(90 64% 36%)
HSV / HSBhsv(90, 78%, 60%)
HWBhwb(90 13% 40%)
CMYKcmyk(39%, 0%, 78%, 40%)
CIELAB (D50)lab(57.11 -34.31 51.43)
LCHlch(57.11 61.82 123.71)
OKLaboklab(0.6162 -0.1081 0.1162)
OKLCHoklch(0.6162 0.1588 132.94)
Decimal6133793

Properties

Color ToneGreen
Closest named colorolivedrab ΔE 3.2
Closest web-safe color#669933
Hue90°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)36%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)47% / 51%
Relative luminance (WCAG)0.2489
Red / Green / Blue93 / 152 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.51:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.98: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 62.5 / -39.2 · As background with white / black text: Lc -67.9 / 41.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: #5d9821;
  --color-brand-oklch: oklch(61.62% 0.1588 132.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(93 152 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5d9821] text-[#5d9821] border-[#5d9821]">