#339226#339226

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

Color values

HEX#339226
RGBrgb(51, 146, 38)
HSLhsl(113, 59%, 36%)
HSVhsv(113, 74%, 57%)
CMYKcmyk(65.1%, 0%, 74%, 42.7%)
CIE-LABlab(53.38, -48.29, 46.46)
CIE-LCHlch(53.38, 67.01, 136.11°)
OKLaboklab(58.22% -0.1318 0.1053)
OKLCHoklch(58.22% 0.169 141.4)
XYZxyz(11.9934, 21.4003, 5.3320)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339226 #852692
analogous
#699226 #339226 #26924F
triadic
#339226 #263392 #922633
tetradic
#339226 #266992 #852692 #924F26
square
#339226 #266992 #852692 #924F26
split-complementary
#339226 #4F2692 #922669
monochromatic
#11310D #226119 #339226 #44C333 #6CD55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339226#FFFFFF#000000##000000
##3392261.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)
#968413
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#228D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339226;
/* rgb */ color: rgb(51, 146, 38);
/* oklch */ color: oklch(58.2% 0.169 141.4);
Tailwind
colors: {
  custom: {
    50: '#78b367',
    500: '#339226',
    950: '#000000',
  },
}
SCSS
$custom: #339226;
$custom-light: #78b367;
$custom-dark: #000000;
JSON
{
  "hex": "#339226",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 112.778,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.16871,
    "h": 141.4
  },
  "luminance": 0.21402
}

Semantic roles & 50–950 ramp

primary
#339226
secondary
#AE5ABA
accent
#46E2CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339226

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

Preview Lab → · Contrast checker → · Palette generator →

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