#339227#339227

#339227 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.168 H 141.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#339227
RGBrgb(51, 146, 39)
HSLhsl(113, 58%, 36%)
HSVhsv(113, 73%, 57%)
CMYKcmyk(65.1%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.39, -48.20, 46.08)
CIE-LCHlch(53.39, 66.68, 136.29°)
OKLaboklab(58.23% -0.1316 0.1046)
OKLCHoklch(58.23% 0.168 141.5)
XYZxyz(12.0097, 21.4069, 5.4181)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339227 #862792
analogous
#699227 #339227 #279251
triadic
#339227 #273392 #922733
tetradic
#339227 #276992 #862792 #925127
square
#339227 #276992 #862792 #925127
split-complementary
#339227 #512792 #922769
monochromatic
#11310D #22621A #339227 #44C234 #6CD45F

Accessibility & contrast

On white

3.98
#339227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#339227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339227
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339227#FFFFFF#000000##000000
##3392271.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968415
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#228D7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #339227;
/* rgb */ color: rgb(51, 146, 39);
/* oklch */ color: oklch(58.2% 0.168 141.5);
Tailwind
colors: {
  custom: {
    50: '#77b368',
    500: '#339227',
    950: '#000000',
  },
}
SCSS
$custom: #339227;
$custom-light: #77b368;
$custom-dark: #000000;
JSON
{
  "hex": "#339227",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 113.271,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.16808,
    "h": 141.5
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#339227
secondary
#AF5BBA
accent
#47E1D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339227

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

Preview Lab → · Contrast checker → · Palette generator →

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