#339945#339945

#339945 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.5% C 0.153 H 146.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#339945
RGBrgb(51, 153, 69)
HSLhsl(131, 50%, 40%)
HSVhsv(131, 67%, 60%)
CMYKcmyk(66.7%, 0%, 54.9%, 40%)
CIE-LABlab(56.00, -47.37, 35.39)
CIE-LCHlch(56.00, 59.13, 143.24°)
OKLaboklab(60.48% -0.1279 0.0848)
OKLCHoklch(60.48% 0.153 146.5)
XYZxyz(13.8297, 23.9145, 9.5162)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339945 #993387
analogous
#549933 #339945 #339978
triadic
#339945 #453399 #994533
tetradic
#339945 #335499 #993387 #997833
square
#339945 #335499 #993387 #997833
split-complementary
#339945 #783399 #993354
monochromatic
#143D1C #246B30 #339945 #47C25D #75D185

Accessibility & contrast

On white

3.63
#339945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#339945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339945
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339945#FFFFFF#000000##000000
##3399451.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3D
Deuteranopia (green-blind)
#8F834B
Tritanopia (blue-blind)
#139586
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339945;
/* rgb */ color: rgb(51, 153, 69);
/* oklch */ color: oklch(60.5% 0.153 146.5);
Tailwind
colors: {
  custom: {
    50: '#77b87b',
    500: '#339945',
    950: '#000000',
  },
}
SCSS
$custom: #339945;
$custom-light: #77b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#339945",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 130.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.15346,
    "h": 146.5
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#339945
secondary
#B96EAC
accent
#4EC1DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339945

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

Preview Lab → · Contrast checker → · Palette generator →

#339945 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva