#028B21

A color in the Green family

#028b21 is a color in the Green family: RGB(2, 139, 33), HSL(134°, 97%, 28%), CMYK(99%, 0%, 76%, 45%). Closest named color: forestgreen. Contrast is 4.45:1 on white and 4.72:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#028b21
RGBrgb(2 139 33)
RGB (legacy)rgb(2, 139, 33)
RGB %rgb(1% 55% 13%)
HSLhsl(134 97% 28%)
HSV / HSBhsv(134, 99%, 55%)
HWBhwb(134 1% 45%)
CMYKcmyk(99%, 0%, 76%, 45%)
CIELAB (D50)lab(50.23 -49.12 43.83)
LCHlch(50.23 65.83 138.25)
OKLaboklab(0.5534 -0.143 0.1015)
OKLCHoklch(0.5534 0.1753 144.63)
Decimal166689

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 0.9
Closest web-safe color#009933
Hue134°
Saturation (HSL / HSV)97% / 99%
Lightness (HSL)28%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)34% / 40%
Relative luminance (WCAG)0.1859
Red / Green / Blue2 / 139 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.72: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 70.2 / -31.5 · As background with white / black text: Lc -75.6 / 33.9

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: #028b21;
  --color-brand-oklch: oklch(55.34% 0.1753 144.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#028b21] text-[#028b21] border-[#028b21]">