#339A30#339A30

#339A30 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.172 H 142.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#339A30
RGBrgb(51, 154, 48)
HSLhsl(118, 52%, 40%)
HSVhsv(118, 69%, 60%)
CMYKcmyk(66.9%, 0%, 68.8%, 39.6%)
CIE-LABlab(56.11, -50.26, 45.28)
CIE-LCHlch(56.11, 67.65, 137.98°)
OKLaboklab(60.51% -0.1366 0.1041)
OKLCHoklch(60.51% 0.172 142.7)
XYZxyz(13.4536, 24.0270, 6.7244)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A30 #97309A
analogous
#689A30 #339A30 #309A62
triadic
#339A30 #30339A #9A3033
tetradic
#339A30 #30689A #97309A #9A6230
square
#339A30 #30689A #97309A #9A6230
split-complementary
#339A30 #62309A #9A3068
monochromatic
#143D13 #246B21 #339A30 #47C443 #74D372

Accessibility & contrast

On white

3.62
#339A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#339A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A30
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A30#FFFFFF#000000##000000
##339A301.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C21
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#1C9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a30;
/* rgb */ color: rgb(51, 154, 48);
/* oklch */ color: oklch(60.5% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#79b96e',
    500: '#339a30',
    950: '#000000',
  },
}
SCSS
$custom: #339a30;
$custom-light: #79b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#339a30",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 118.302,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.17177,
    "h": 142.7
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#339A30
secondary
#B86BBB
accent
#4CDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A30

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

Preview Lab → · Contrast checker → · Palette generator →

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