#339F22#339F22

#339F22 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.186 H 141.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#339F22
RGBrgb(51, 159, 34)
HSLhsl(112, 65%, 38%)
HSVhsv(112, 79%, 62%)
CMYKcmyk(67.9%, 0%, 78.6%, 37.6%)
CIE-LABlab(57.67, -53.16, 52.13)
CIE-LCHlch(57.67, 74.45, 135.56°)
OKLaboklab(61.76% -0.1452 0.1165)
OKLCHoklch(61.76% 0.186 141.3)
XYZxyz(14.0514, 25.6141, 5.7166)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F22 #8E229F
analogous
#719F22 #339F22 #229F4F
triadic
#339F22 #22339F #9F2233
tetradic
#339F22 #22719F #8E229F #9F4F22
square
#339F22 #22719F #8E229F #9F4F22
split-complementary
#339F22 #4F229F #9F2271
monochromatic
#133A0C #236D17 #339F22 #43D12D #70DD5F

Accessibility & contrast

On white

3.43
#339F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#339F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F22
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F22#FFFFFF#000000##000000
##339F221.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#1D9A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339f22;
/* rgb */ color: rgb(51, 159, 34);
/* oklch */ color: oklch(61.8% 0.186 141.3);
Tailwind
colors: {
  custom: {
    50: '#7abc67',
    500: '#339f22',
    950: '#000000',
  },
}
SCSS
$custom: #339f22;
$custom-light: #7abc67;
$custom-dark: #000000;
JSON
{
  "hex": "#339f22",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 111.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.18619,
    "h": 141.3
  },
  "luminance": 0.25616
}

Semantic roles & 50–950 ramp

primary
#339F22
secondary
#B45BC1
accent
#40E8D1
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339F22

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

Preview Lab → · Contrast checker → · Palette generator →

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