#339A27#339A27

#339A27 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.178 H 141.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#339A27
RGBrgb(51, 154, 39)
HSLhsl(114, 60%, 38%)
HSVhsv(114, 75%, 60%)
CMYKcmyk(66.9%, 0%, 74.7%, 39.6%)
CIE-LABlab(56.05, -51.06, 48.78)
CIE-LCHlch(56.05, 70.61, 136.31°)
OKLaboklab(60.43% -0.1393 0.1103)
OKLCHoklch(60.43% 0.178 141.6)
XYZxyz(13.2863, 23.9601, 5.8436)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A27 #8E279A
analogous
#6C9A27 #339A27 #279A54
triadic
#339A27 #27339A #9A2733
tetradic
#339A27 #276C9A #8E279A #9A5427
square
#339A27 #276C9A #8E279A #9A5427
split-complementary
#339A27 #54279A #9A276C
monochromatic
#13380E #23691B #339A27 #43CB33 #70D864

Accessibility & contrast

On white

3.63
#339A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#339A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A27
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A27#FFFFFF#000000##000000
##339A271.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B11
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#1E9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a27;
/* rgb */ color: rgb(51, 154, 39);
/* oklch */ color: oklch(60.4% 0.178 141.6);
Tailwind
colors: {
  custom: {
    50: '#79b969',
    500: '#339a27',
    950: '#000000',
  },
}
SCSS
$custom: #339a27;
$custom-light: #79b969;
$custom-dark: #000000;
JSON
{
  "hex": "#339a27",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 113.739,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.17763,
    "h": 141.6
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#339A27
secondary
#B45FBD
accent
#45E3D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A27

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

Preview Lab → · Contrast checker → · Palette generator →

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