#5AAA52

A color in the Green family

#5aaa52 is a color in the Green family: RGB(90, 170, 82), HSL(115°, 35%, 49%), CMYK(47%, 0%, 52%, 33%). Closest named color: mediumseagreen. Contrast is 2.87:1 on white and 7.31:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5aaa52
RGBrgb(90 170 82)
RGB (legacy)rgb(90, 170, 82)
RGB %rgb(35% 67% 32%)
HSLhsl(115 35% 49%)
HSV / HSBhsv(115, 52%, 67%)
HWBhwb(115 32% 33%)
CMYKcmyk(47%, 0%, 52%, 33%)
CIELAB (D50)lab(63.01 -39.05 37.02)
LCHlch(63.01 53.81 136.53)
OKLaboklab(0.6662 -0.1155 0.0904)
OKLCHoklch(0.6662 0.1467 141.96)
Decimal5941842

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 3.8
Closest web-safe color#669966
Hue115°
Saturation (HSL / HSV)35% / 52%
Lightness (HSL)49%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)53% / 58%
Relative luminance (WCAG)0.3153
Red / Green / Blue90 / 170 / 82

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 54.7 / -47.1 · As background with white / black text: Lc -60 / 49.3

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: #5aaa52;
  --color-brand-oklch: oklch(66.62% 0.1467 141.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(90 170 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5aaa52] text-[#5aaa52] border-[#5aaa52]">