#339F2C#339F2C

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

Color values

HEX#339F2C
RGBrgb(51, 159, 44)
HSLhsl(116, 57%, 40%)
HSVhsv(116, 72%, 62%)
CMYKcmyk(67.9%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.73, -52.40, 48.60)
CIE-LCHlch(57.73, 71.47, 137.15°)
OKLaboklab(61.83% -0.1426 0.1105)
OKLCHoklch(61.83% 0.18 142.2)
XYZxyz(14.2172, 25.6805, 6.5900)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2C #982C9F
analogous
#6C9F2C #339F2C #2C9F5F
triadic
#339F2C #2C339F #9F2C33
tetradic
#339F2C #2C6C9F #982C9F #9F5F2C
square
#339F2C #2C6C9F #982C9F #9F5F2C
split-complementary
#339F2C #5F2C9F #9F2C6C
monochromatic
#143F11 #246F1F #339F2C #47CA3E #75D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339F2C#FFFFFF#000000##000000
##339F2C1.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)
#A39019
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2c;
/* rgb */ color: rgb(51, 159, 44);
/* oklch */ color: oklch(61.8% 0.180 142.2);
Tailwind
colors: {
  custom: {
    50: '#7abc6c',
    500: '#339f2c',
    950: '#000000',
  },
}
SCSS
$custom: #339f2c;
$custom-light: #7abc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2c",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 116.348,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.18046,
    "h": 142.2
  },
  "luminance": 0.25682
}

Semantic roles & 50–950 ramp

primary
#339F2C
secondary
#B969BE
accent
#48E0D7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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