#339A21#339A21

#339A21 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.181 H 141.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#339A21
RGBrgb(51, 154, 33)
HSLhsl(111, 65%, 37%)
HSVhsv(111, 79%, 60%)
CMYKcmyk(66.9%, 0%, 78.6%, 39.6%)
CIE-LABlab(56.01, -51.50, 50.85)
CIE-LCHlch(56.01, 72.38, 135.36°)
OKLaboklab(60.39% -0.1408 0.1137)
OKLCHoklch(60.39% 0.181 141.1)
XYZxyz(13.1947, 23.9235, 5.3609)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A21 #88219A
analogous
#709A21 #339A21 #219A4B
triadic
#339A21 #21339A #9A2133
tetradic
#339A21 #21709A #88219A #9A4B21
square
#339A21 #21709A #88219A #9A4B21
split-complementary
#339A21 #4B219A #9A2170
monochromatic
#12350B #226816 #339A21 #44CC2C #6DDC5A

Accessibility & contrast

On white

3.63
#339A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#339A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A21
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A21#FFFFFF#000000##000000
##339A211.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#1F9583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a21;
/* rgb */ color: rgb(51, 154, 33);
/* oklch */ color: oklch(60.4% 0.181 141.1);
Tailwind
colors: {
  custom: {
    50: '#79b966',
    500: '#339a21',
    950: '#000000',
  },
}
SCSS
$custom: #339a21;
$custom-light: #79b966;
$custom-dark: #000000;
JSON
{
  "hex": "#339a21",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 111.074,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.18099,
    "h": 141.1
  },
  "luminance": 0.23925
}

Semantic roles & 50–950 ramp

primary
#339A21
secondary
#B057C0
accent
#40E8CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339A21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#339A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva