#337F21

A color in the Green family

#337f21 is a color in the Green family: RGB(51, 127, 33), HSL(109°, 59%, 31%), CMYK(60%, 0%, 74%, 50%). Closest named color: green. Contrast is 5:1 on white and 4.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#337f21
RGBrgb(51 127 33)
RGB (legacy)rgb(51, 127, 33)
RGB %rgb(20% 50% 13%)
HSLhsl(109 59% 31%)
HSV / HSBhsv(109, 74%, 50%)
HWBhwb(109 13% 50%)
CMYKcmyk(60%, 0%, 74%, 50%)
CIELAB (D50)lab(47.03 -38.07 41.03)
LCHlch(47.03 55.97 132.86)
OKLaboklab(0.529 -0.114 0.095)
OKLCHoklch(0.529 0.1484 140.22)
Decimal3374881

Properties

Color ToneGreen
Closest named colorgreen ΔE 3.1
Closest web-safe color#336633
Hue109°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)37% / 41%
Relative luminance (WCAG)0.1599
Red / Green / Blue51 / 127 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.20: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 74.2 / -27.5 · As background with white / black text: Lc -79.7 / 29.8

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: #337f21;
  --color-brand-oklch: oklch(52.9% 0.1484 140.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(51 127 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#337f21] text-[#337f21] border-[#337f21]">