#339D27#339D27

#339D27 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.2% C 0.181 H 141.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#339D27
RGBrgb(51, 157, 39)
HSLhsl(114, 60%, 38%)
HSVhsv(114, 75%, 62%)
CMYKcmyk(67.5%, 0%, 75.2%, 38.4%)
CIE-LABlab(57.04, -52.11, 49.78)
CIE-LCHlch(57.04, 72.06, 136.31°)
OKLaboklab(61.25% -0.1421 0.1123)
OKLCHoklch(61.25% 0.181 141.7)
XYZxyz(13.7877, 24.9628, 6.0108)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D27 #91279D
analogous
#6E9D27 #339D27 #279D56
triadic
#339D27 #27339D #9D2733
tetradic
#339D27 #276E9D #91279D #9D5627
square
#339D27 #276E9D #91279D #9D5627
split-complementary
#339D27 #56279D #9D276E
monochromatic
#133B0F #236C1B #339D27 #44CD35 #71D966

Accessibility & contrast

On white

3.50
#339D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#339D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D27
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D27#FFFFFF#000000##000000
##339D271.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#948634
Tritanopia (blue-blind)
#1D9886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d27;
/* rgb */ color: rgb(51, 157, 39);
/* oklch */ color: oklch(61.2% 0.181 141.7);
Tailwind
colors: {
  custom: {
    50: '#7abb69',
    500: '#339d27',
    950: '#000000',
  },
}
SCSS
$custom: #339d27;
$custom-light: #7abb69;
$custom-dark: #000000;
JSON
{
  "hex": "#339d27",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 113.898,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.18115,
    "h": 141.7
  },
  "luminance": 0.24964
}

Semantic roles & 50–950 ramp

primary
#339D27
secondary
#B561BF
accent
#44E3D3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D27

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

Preview Lab → · Contrast checker → · Palette generator →

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