#339B52#339B52

#339B52 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.2% C 0.144 H 149.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#339B52
RGBrgb(51, 155, 82)
HSLhsl(138, 50%, 40%)
HSVhsv(138, 67%, 61%)
CMYKcmyk(67.1%, 0%, 47.1%, 39.2%)
CIE-LABlab(56.84, -46.11, 29.72)
CIE-LCHlch(56.84, 54.86, 147.20°)
OKLaboklab(61.23% -0.1243 0.0727)
OKLCHoklch(61.23% 0.144 149.7)
XYZxyz(14.6085, 24.7542, 11.9892)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B52 #9B337C
analogous
#489B33 #339B52 #339B86
triadic
#339B52 #52339B #9B5233
tetradic
#339B52 #33489B #9B337C #9B8633
square
#339B52 #33489B #9B337C #9B8633
split-complementary
#339B52 #86339B #9B3348
monochromatic
#153F21 #246D3A #339B52 #48C36D #76D292

Accessibility & contrast

On white

3.53
#339B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#339B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B52
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B52#FFFFFF#000000##000000
##339B521.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8E4C
Deuteranopia (green-blind)
#8F8557
Tritanopia (blue-blind)
#04988A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339b52;
/* rgb */ color: rgb(51, 155, 82);
/* oklch */ color: oklch(61.2% 0.144 149.7);
Tailwind
colors: {
  custom: {
    50: '#77b984',
    500: '#339b52',
    950: '#000000',
  },
}
SCSS
$custom: #339b52;
$custom-light: #77b984;
$custom-dark: #000000;
JSON
{
  "hex": "#339b52",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 82
  },
  "hsl": {
    "h": 137.885,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.14406,
    "h": 149.7
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#339B52
secondary
#BA6FA4
accent
#4EB0DA
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #339B52

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

Preview Lab → · Contrast checker → · Palette generator →

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