#339A3E#339A3E

#339A3E is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.7% C 0.161 H 145.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#339A3E
RGBrgb(51, 154, 62)
HSLhsl(126, 50%, 40%)
HSVhsv(126, 67%, 60%)
CMYKcmyk(66.9%, 0%, 59.7%, 39.6%)
CIE-LABlab(56.25, -48.69, 39.11)
CIE-LCHlch(56.25, 62.45, 141.23°)
OKLaboklab(60.66% -0.1317 0.0924)
OKLCHoklch(60.66% 0.161 145)
XYZxyz(13.7895, 24.1614, 8.4934)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A3E #9A338F
analogous
#5B9A33 #339A3E #339A72
triadic
#339A3E #3E339A #9A3E33
tetradic
#339A3E #335B9A #9A338F #9A7233
square
#339A3E #335B9A #9A338F #9A7233
split-complementary
#339A3E #72339A #9A335B
monochromatic
#153E19 #246C2B #339A3E #48C255 #76D280

Accessibility & contrast

On white

3.60
#339A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#339A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A3E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A3E#FFFFFF#000000##000000
##339A3E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C35
Deuteranopia (green-blind)
#908445
Tritanopia (blue-blind)
#169686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a3e;
/* rgb */ color: rgb(51, 154, 62);
/* oklch */ color: oklch(60.7% 0.161 145.0);
Tailwind
colors: {
  custom: {
    50: '#78b976',
    500: '#339a3e',
    950: '#000000',
  },
}
SCSS
$custom: #339a3e;
$custom-light: #78b976;
$custom-dark: #000000;
JSON
{
  "hex": "#339a3e",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 62
  },
  "hsl": {
    "h": 126.408,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.16089,
    "h": 145
  },
  "luminance": 0.24163
}

Semantic roles & 50–950 ramp

primary
#339A3E
secondary
#BA6FB2
accent
#4ECBDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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