#339C3A#339C3A

#339C3A is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.2% C 0.167 H 144.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#339C3A
RGBrgb(51, 156, 58)
HSLhsl(124, 51%, 41%)
HSVhsv(124, 67%, 61%)
CMYKcmyk(67.3%, 0%, 62.8%, 38.8%)
CIE-LABlab(56.87, -49.91, 41.70)
CIE-LCHlch(56.87, 65.04, 140.12°)
OKLaboklab(61.16% -0.1352 0.0976)
OKLCHoklch(61.16% 0.167 144.2)
XYZxyz(14.0166, 24.7848, 8.0474)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C3A #9C3395
analogous
#609C33 #339C3A #339C6E
triadic
#339C3A #3A339C #9C3A33
tetradic
#339C3A #33609C #9C3395 #9C6E33
square
#339C3A #33609C #9C3395 #9C6E33
split-complementary
#339C3A #6E339C #9C3360
monochromatic
#154018 #246E29 #339C3A #49C351 #77D37D

Accessibility & contrast

On white

3.53
#339C3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#339C3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C3A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C3A#FFFFFF#000000##000000
##339C3A1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2F
Deuteranopia (green-blind)
#928542
Tritanopia (blue-blind)
#179887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c3a;
/* rgb */ color: rgb(51, 156, 58);
/* oklch */ color: oklch(61.2% 0.167 144.2);
Tailwind
colors: {
  custom: {
    50: '#79ba74',
    500: '#339c3a',
    950: '#000000',
  },
}
SCSS
$custom: #339c3a;
$custom-light: #79ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#339c3a",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 58
  },
  "hsl": {
    "h": 124,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61155,
    "c": 0.16673,
    "h": 144.2
  },
  "luminance": 0.24786
}

Semantic roles & 50–950 ramp

primary
#339C3A
secondary
#BB70B6
accent
#4ED1DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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