#339E38#339E38

#339E38 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.7% C 0.171 H 143.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#339E38
RGBrgb(51, 158, 56)
HSLhsl(123, 51%, 41%)
HSVhsv(123, 68%, 62%)
CMYKcmyk(67.7%, 0%, 64.6%, 38%)
CIE-LABlab(57.50, -50.86, 43.32)
CIE-LCHlch(57.50, 66.81, 139.58°)
OKLaboklab(61.68% -0.1379 0.1008)
OKLCHoklch(61.68% 0.171 143.8)
XYZxyz(14.3050, 25.4416, 7.8974)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E38 #9E3399
analogous
#639E33 #339E38 #339E6D
triadic
#339E38 #38339E #9E3833
tetradic
#339E38 #33639E #9E3399 #9E6D33
square
#339E38 #33639E #9E3399 #9E6D33
split-complementary
#339E38 #6D339E #9E3363
monochromatic
#154117 #247028 #339E38 #4AC44F #78D37C

Accessibility & contrast

On white

3.45
#339E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#339E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E38
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E38#FFFFFF#000000##000000
##339E381.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2C
Deuteranopia (green-blind)
#948741
Tritanopia (blue-blind)
#169A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e38;
/* rgb */ color: rgb(51, 158, 56);
/* oklch */ color: oklch(61.7% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#79bc73',
    500: '#339e38',
    950: '#000000',
  },
}
SCSS
$custom: #339e38;
$custom-light: #79bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#339e38",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 122.804,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.17081,
    "h": 143.8
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#339E38
secondary
#BC71B8
accent
#4DD4DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339E38

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

Preview Lab → · Contrast checker → · Palette generator →

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