#339B27#339B27

#339B27 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.179 H 141.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#339B27
RGBrgb(51, 155, 39)
HSLhsl(114, 60%, 38%)
HSVhsv(114, 75%, 61%)
CMYKcmyk(67.1%, 0%, 74.8%, 39.2%)
CIE-LABlab(56.38, -51.41, 49.11)
CIE-LCHlch(56.38, 71.10, 136.31°)
OKLaboklab(60.7% -0.1402 0.1109)
OKLCHoklch(60.7% 0.179 141.7)
XYZxyz(13.4521, 24.2916, 5.8989)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B27 #8F279B
analogous
#6D9B27 #339B27 #279B55
triadic
#339B27 #27339B #9B2733
tetradic
#339B27 #276D9B #8F279B #9B5527
square
#339B27 #276D9B #8F279B #9B5527
split-complementary
#339B27 #55279B #9B276D
monochromatic
#13390E #236A1B #339B27 #43CC33 #70D864

Accessibility & contrast

On white

3.58
#339B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#339B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B27
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B27#FFFFFF#000000##000000
##339B271.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C11
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#1E9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b27;
/* rgb */ color: rgb(51, 155, 39);
/* oklch */ color: oklch(60.7% 0.179 141.7);
Tailwind
colors: {
  custom: {
    50: '#79b969',
    500: '#339b27',
    950: '#000000',
  },
}
SCSS
$custom: #339b27;
$custom-light: #79b969;
$custom-dark: #000000;
JSON
{
  "hex": "#339b27",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 113.793,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.17881,
    "h": 141.7
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#339B27
secondary
#B460BE
accent
#45E3D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B27

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

Preview Lab → · Contrast checker → · Palette generator →

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