#339F38#339F38

#339F38 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.172 H 143.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#339F38
RGBrgb(51, 159, 56)
HSLhsl(123, 51%, 41%)
HSVhsv(123, 68%, 62%)
CMYKcmyk(67.9%, 0%, 64.8%, 37.6%)
CIE-LABlab(57.83, -51.22, 43.69)
CIE-LCHlch(57.83, 67.32, 139.54°)
OKLaboklab(61.95% -0.1388 0.1016)
OKLCHoklch(61.95% 0.172 143.8)
XYZxyz(14.4763, 25.7841, 7.9545)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F38 #9F339A
analogous
#649F33 #339F38 #339F6E
triadic
#339F38 #38339F #9F3833
tetradic
#339F38 #33649F #9F339A #9F6E33
square
#339F38 #33649F #9F339A #9F6E33
split-complementary
#339F38 #6E339F #9F3364
monochromatic
#154217 #247128 #339F38 #4AC550 #79D47D

Accessibility & contrast

On white

3.41
#339F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#339F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F38
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F38#FFFFFF#000000##000000
##339F381.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902C
Deuteranopia (green-blind)
#958841
Tritanopia (blue-blind)
#169B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f38;
/* rgb */ color: rgb(51, 159, 56);
/* oklch */ color: oklch(61.9% 0.172 143.8);
Tailwind
colors: {
  custom: {
    50: '#79bc73',
    500: '#339f38',
    950: '#000000',
  },
}
SCSS
$custom: #339f38;
$custom-light: #79bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#339f38",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 122.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.17205,
    "h": 143.8
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339F38

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

Preview Lab → · Contrast checker → · Palette generator →

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