#339A52#339A52

#339A52 is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.0% C 0.143 H 149.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#339A52
RGBrgb(51, 154, 82)
HSLhsl(138, 50%, 40%)
HSVhsv(138, 67%, 60%)
CMYKcmyk(66.9%, 0%, 46.8%, 39.6%)
CIE-LABlab(56.51, -45.72, 29.30)
CIE-LCHlch(56.51, 54.31, 147.35°)
OKLaboklab(60.96% -0.1233 0.0718)
OKLCHoklch(60.96% 0.143 149.8)
XYZxyz(14.4427, 24.4227, 11.9339)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A52 #9A337B
analogous
#489A33 #339A52 #339A85
triadic
#339A52 #52339A #9A5233
tetradic
#339A52 #33489A #9A337B #9A8533
square
#339A52 #33489A #9A337B #9A8533
split-complementary
#339A52 #85339A #9A3348
monochromatic
#153E21 #246C3A #339A52 #48C26D #76D291

Accessibility & contrast

On white

3.57
#339A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#339A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A52
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A52#FFFFFF#000000##000000
##339A521.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8D4C
Deuteranopia (green-blind)
#8E8457
Tritanopia (blue-blind)
#069789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339a52;
/* rgb */ color: rgb(51, 154, 82);
/* oklch */ color: oklch(61.0% 0.143 149.8);
Tailwind
colors: {
  custom: {
    50: '#77b984',
    500: '#339a52',
    950: '#000000',
  },
}
SCSS
$custom: #339a52;
$custom-light: #77b984;
$custom-dark: #000000;
JSON
{
  "hex": "#339a52",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 82
  },
  "hsl": {
    "h": 138.058,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.14269,
    "h": 149.8
  },
  "luminance": 0.24424
}

Semantic roles & 50–950 ramp

primary
#339A52
secondary
#BA6FA3
accent
#4EB0DA
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #339A52

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

Preview Lab → · Contrast checker → · Palette generator →

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