#339B21#339B21

#339B21 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.182 H 141.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#339B21
RGBrgb(51, 155, 33)
HSLhsl(111, 65%, 37%)
HSVhsv(111, 79%, 61%)
CMYKcmyk(67.1%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.34, -51.85, 51.17)
CIE-LCHlch(56.34, 72.85, 135.37°)
OKLaboklab(60.66% -0.1417 0.1144)
OKLCHoklch(60.66% 0.182 141.1)
XYZxyz(13.3604, 24.2549, 5.4161)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B21 #89219B
analogous
#709B21 #339B21 #219B4C
triadic
#339B21 #21339B #9B2133
tetradic
#339B21 #21709B #89219B #9B4C21
square
#339B21 #21709B #89219B #9B4C21
split-complementary
#339B21 #4C219B #9B2170
monochromatic
#12360C #226916 #339B21 #44CD2C #6EDC5A

Accessibility & contrast

On white

3.59
#339B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#339B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B21
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B21#FFFFFF#000000##000000
##339B211.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b21;
/* rgb */ color: rgb(51, 155, 33);
/* oklch */ color: oklch(60.7% 0.182 141.1);
Tailwind
colors: {
  custom: {
    50: '#7ab966',
    500: '#339b21',
    950: '#000000',
  },
}
SCSS
$custom: #339b21;
$custom-light: #7ab966;
$custom-dark: #000000;
JSON
{
  "hex": "#339b21",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 111.148,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.18214,
    "h": 141.1
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

primary
#339B21
secondary
#B158C0
accent
#40E8CF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339B21

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

Preview Lab → · Contrast checker → · Palette generator →

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