#339F27#339F27

#339F27 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.183 H 141.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#339F27
RGBrgb(51, 159, 39)
HSLhsl(114, 61%, 39%)
HSVhsv(114, 75%, 62%)
CMYKcmyk(67.9%, 0%, 75.5%, 37.6%)
CIE-LABlab(57.70, -52.80, 50.44)
CIE-LCHlch(57.70, 73.02, 136.31°)
OKLaboklab(61.8% -0.144 0.1137)
OKLCHoklch(61.8% 0.183 141.7)
XYZxyz(14.1288, 25.6451, 6.1245)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F27 #93279F
analogous
#6F9F27 #339F27 #279F57
triadic
#339F27 #27339F #9F2733
tetradic
#339F27 #276F9F #93279F #9F5727
square
#339F27 #276F9F #93279F #9F5727
split-complementary
#339F27 #57279F #9F276F
monochromatic
#133D0F #236E1B #339F27 #45CE36 #72DA67

Accessibility & contrast

On white

3.43
#339F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#339F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F27
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F27#FFFFFF#000000##000000
##339F271.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#1C9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f27;
/* rgb */ color: rgb(51, 159, 39);
/* oklch */ color: oklch(61.8% 0.183 141.7);
Tailwind
colors: {
  custom: {
    50: '#7abc6a',
    500: '#339f27',
    950: '#000000',
  },
}
SCSS
$custom: #339f27;
$custom-light: #7abc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#339f27",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 114,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.18348,
    "h": 141.7
  },
  "luminance": 0.25647
}

Semantic roles & 50–950 ramp

primary
#339F27
secondary
#B662C0
accent
#44E4D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F27

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

Preview Lab → · Contrast checker → · Palette generator →

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