#339B22#339B22

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

Color values

HEX#339B22
RGBrgb(51, 155, 34)
HSLhsl(112, 64%, 37%)
HSVhsv(112, 78%, 61%)
CMYKcmyk(67.1%, 0%, 78.1%, 39.2%)
CIE-LABlab(56.35, -51.78, 50.85)
CIE-LCHlch(56.35, 72.57, 135.52°)
OKLaboklab(60.67% -0.1415 0.1139)
OKLCHoklch(60.67% 0.182 141.2)
XYZxyz(13.3746, 24.2606, 5.4910)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B22 #8A229B
analogous
#709B22 #339B22 #229B4D
triadic
#339B22 #22339B #9B2233
tetradic
#339B22 #22709B #8A229B #9B4D22
square
#339B22 #22709B #8A229B #9B4D22
split-complementary
#339B22 #4D229B #9B2270
monochromatic
#12370C #226917 #339B22 #44CD2D #6EDB5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339B22#FFFFFF#000000##000000
##339B221.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)
#9F8C03
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b22;
/* rgb */ color: rgb(51, 155, 34);
/* oklch */ color: oklch(60.7% 0.182 141.2);
Tailwind
colors: {
  custom: {
    50: '#7ab967',
    500: '#339b22',
    950: '#000000',
  },
}
SCSS
$custom: #339b22;
$custom-light: #7ab967;
$custom-dark: #000000;
JSON
{
  "hex": "#339b22",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 111.57,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.18161,
    "h": 141.2
  },
  "luminance": 0.24262
}

Semantic roles & 50–950 ramp

primary
#339B22
secondary
#B159C0
accent
#41E7D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339B22

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

Preview Lab → · Contrast checker → · Palette generator →

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