#05AB2F

A color in the Green family

#05ab2f is a color in the Green family: RGB(5, 171, 47), HSL(135°, 94%, 35%), CMYK(97%, 0%, 73%, 33%). Closest named color: mediumseagreen. Contrast is 3.06:1 on white and 6.87:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#05ab2f
RGBrgb(5 171 47)
RGB (legacy)rgb(5, 171, 47)
RGB %rgb(2% 67% 18%)
HSLhsl(135 94% 35%)
HSV / HSBhsv(135, 97%, 67%)
HWBhwb(135 2% 33%)
CMYKcmyk(97%, 0%, 73%, 33%)
CIELAB (D50)lab(61.13 -56.82 49.58)
LCHlch(61.13 75.41 138.89)
OKLaboklab(0.6446 -0.1651 0.1156)
OKLCHoklch(0.6446 0.2015 145)
Decimal371503

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.6
Closest web-safe color#009933
Hue135°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)35%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)42% / 50%
Relative luminance (WCAG)0.2936
Red / Green / Blue5 / 171 / 47

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.06:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.87: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 56.6 / -45.1 · As background with white / black text: Lc -62 / 47.4

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: #05ab2f;
  --color-brand-oklch: oklch(64.46% 0.2015 145);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 171 47 / 50%); }
/* Tailwind CSS */
<div class="bg-[#05ab2f] text-[#05ab2f] border-[#05ab2f]">