#339A45#339A45

#339A45 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.8% C 0.155 H 146.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#339A45
RGBrgb(51, 154, 69)
HSLhsl(130, 50%, 40%)
HSVhsv(130, 67%, 60%)
CMYKcmyk(66.9%, 0%, 55.2%, 39.6%)
CIE-LABlab(56.33, -47.75, 35.78)
CIE-LCHlch(56.33, 59.67, 143.15°)
OKLaboklab(60.75% -0.1289 0.0857)
OKLCHoklch(60.75% 0.155 146.4)
XYZxyz(13.9941, 24.2432, 9.5710)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A45 #9A3388
analogous
#559A33 #339A45 #339A78
triadic
#339A45 #45339A #9A4533
tetradic
#339A45 #33559A #9A3388 #9A7833
square
#339A45 #33559A #9A3388 #9A7833
split-complementary
#339A45 #78339A #9A3355
monochromatic
#153E1C #246C30 #339A45 #48C25D #76D286

Accessibility & contrast

On white

3.59
#339A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#339A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A45
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A45#FFFFFF#000000##000000
##339A451.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3D
Deuteranopia (green-blind)
#8F844B
Tritanopia (blue-blind)
#129687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a45;
/* rgb */ color: rgb(51, 154, 69);
/* oklch */ color: oklch(60.8% 0.155 146.4);
Tailwind
colors: {
  custom: {
    50: '#78b97b',
    500: '#339a45',
    950: '#000000',
  },
}
SCSS
$custom: #339a45;
$custom-light: #78b97b;
$custom-dark: #000000;
JSON
{
  "hex": "#339a45",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 130.485,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.15479,
    "h": 146.4
  },
  "luminance": 0.24245
}

Semantic roles & 50–950 ramp

primary
#339A45
secondary
#BA6FAD
accent
#4EC1DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339A45

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

Preview Lab → · Contrast checker → · Palette generator →

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