#339122#339122

#339122 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.170 H 140.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#339122
RGBrgb(51, 145, 34)
HSLhsl(111, 62%, 35%)
HSVhsv(111, 77%, 57%)
CMYKcmyk(64.8%, 0%, 76.6%, 43.1%)
CIE-LABlab(53.02, -48.24, 47.58)
CIE-LCHlch(53.02, 67.76, 135.39°)
OKLaboklab(57.91% -0.1319 0.1071)
OKLCHoklch(57.91% 0.17 140.9)
XYZxyz(11.7788, 21.0689, 4.9590)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339122 #802291
analogous
#6A9122 #339122 #229149
triadic
#339122 #223391 #912233
tetradic
#339122 #226A91 #802291 #914922
square
#339122 #226A91 #802291 #914922
split-complementary
#339122 #492291 #91226A
monochromatic
#102E0B #225F16 #339122 #44C32E #6AD756

Accessibility & contrast

On white

4.03
#339122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#339122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339122
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339122#FFFFFF#000000##000000
##3391221.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#238C7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339122;
/* rgb */ color: rgb(51, 145, 34);
/* oklch */ color: oklch(57.9% 0.170 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b265',
    500: '#339122',
    950: '#000000',
  },
}
SCSS
$custom: #339122;
$custom-light: #77b265;
$custom-dark: #000000;
JSON
{
  "hex": "#339122",
  "rgb": {
    "r": 51,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 110.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.16991,
    "h": 140.9
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#339122
secondary
#AB53BB
accent
#43E5CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339122

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

Preview Lab → · Contrast checker → · Palette generator →

#339122 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva