#339F2A#339F2A

#339F2A is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.182 H 142.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#339F2A
RGBrgb(51, 159, 42)
HSLhsl(115, 58%, 39%)
HSVhsv(115, 74%, 62%)
CMYKcmyk(67.9%, 0%, 73.6%, 37.6%)
CIE-LABlab(57.72, -52.56, 49.35)
CIE-LCHlch(57.72, 72.10, 136.81°)
OKLaboklab(61.82% -0.1432 0.1119)
OKLCHoklch(61.82% 0.182 142)
XYZxyz(14.1805, 25.6658, 6.3967)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2A #962A9F
analogous
#6D9F2A #339F2A #2A9F5C
triadic
#339F2A #2A339F #9F2A33
tetradic
#339F2A #2A6D9F #962A9F #9F5C2A
square
#339F2A #2A6D9F #962A9F #9F5C2A
split-complementary
#339F2A #5C2A9F #9F2A6D
monochromatic
#143E10 #236F1D #339F2A #46CB3B #74D86B

Accessibility & contrast

On white

3.42
#339F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#339F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F2A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F2A#FFFFFF#000000##000000
##339F2A1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#1B9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2a;
/* rgb */ color: rgb(51, 159, 42);
/* oklch */ color: oklch(61.8% 0.182 142.0);
Tailwind
colors: {
  custom: {
    50: '#7abc6b',
    500: '#339f2a',
    950: '#000000',
  },
}
SCSS
$custom: #339f2a;
$custom-light: #7abc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2a",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 115.385,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.1817,
    "h": 142
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#339F2A
secondary
#B866BF
accent
#46E1D6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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