#339F2E#339F2E

#339F2E is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.179 H 142.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#339F2E
RGBrgb(51, 159, 46)
HSLhsl(117, 55%, 40%)
HSVhsv(117, 71%, 62%)
CMYKcmyk(67.9%, 0%, 71.1%, 37.6%)
CIE-LABlab(57.75, -52.22, 47.83)
CIE-LCHlch(57.75, 70.81, 137.51°)
OKLaboklab(61.85% -0.142 0.1092)
OKLCHoklch(61.85% 0.179 142.5)
XYZxyz(14.2557, 25.6959, 6.7928)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2E #9A2E9F
analogous
#6C9F2E #339F2E #2E9F61
triadic
#339F2E #2E339F #9F2E33
tetradic
#339F2E #2E6C9F #9A2E9F #9F612E
square
#339F2E #2E6C9F #9A2E9F #9F612E
split-complementary
#339F2E #612E9F #9F2E6C
monochromatic
#154013 #247020 #339F2E #48C842 #76D671

Accessibility & contrast

On white

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

On black

6.14
#339F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F2E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F2E#FFFFFF#000000##000000
##339F2E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#968739
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2e;
/* rgb */ color: rgb(51, 159, 46);
/* oklch */ color: oklch(61.9% 0.179 142.5);
Tailwind
colors: {
  custom: {
    50: '#7abc6d',
    500: '#339f2e',
    950: '#000000',
  },
}
SCSS
$custom: #339f2e;
$custom-light: #7abc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2e",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 117.345,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.17916,
    "h": 142.5
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

primary
#339F2E
secondary
#BA6BBE
accent
#49DED8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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