#339D38#339D38

#339D38 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.4% C 0.170 H 143.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#339D38
RGBrgb(51, 157, 56)
HSLhsl(123, 51%, 41%)
HSVhsv(123, 68%, 62%)
CMYKcmyk(67.5%, 0%, 64.3%, 38.4%)
CIE-LABlab(57.17, -50.50, 42.96)
CIE-LCHlch(57.17, 66.30, 139.62°)
OKLaboklab(61.41% -0.1369 0.1001)
OKLCHoklch(61.41% 0.17 143.8)
XYZxyz(14.1352, 25.1018, 7.8408)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D38 #9D3398
analogous
#639D33 #339D38 #339D6D
triadic
#339D38 #38339D #9D3833
tetradic
#339D38 #33639D #9D3398 #9D6D33
square
#339D38 #33639D #9D3398 #9D6D33
split-complementary
#339D38 #6D339D #9D3363
monochromatic
#154117 #246F28 #339D38 #49C44F #77D37C

Accessibility & contrast

On white

3.49
#339D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#339D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D38
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D38#FFFFFF#000000##000000
##339D381.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F2C
Deuteranopia (green-blind)
#938641
Tritanopia (blue-blind)
#179988
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d38;
/* rgb */ color: rgb(51, 157, 56);
/* oklch */ color: oklch(61.4% 0.170 143.8);
Tailwind
colors: {
  custom: {
    50: '#79bb73',
    500: '#339d38',
    950: '#000000',
  },
}
SCSS
$custom: #339d38;
$custom-light: #79bb73;
$custom-dark: #000000;
JSON
{
  "hex": "#339d38",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 122.83,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.16955,
    "h": 143.8
  },
  "luminance": 0.25103
}

Semantic roles & 50–950 ramp

primary
#339D38
secondary
#BB70B8
accent
#4DD4DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339D38

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

Preview Lab → · Contrast checker → · Palette generator →

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