#339C38#339C38

#339C38 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.168 H 143.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#339C38
RGBrgb(51, 156, 56)
HSLhsl(123, 51%, 41%)
HSVhsv(123, 67%, 61%)
CMYKcmyk(67.3%, 0%, 64.1%, 38.8%)
CIE-LABlab(56.85, -50.14, 42.59)
CIE-LCHlch(56.85, 65.79, 139.66°)
OKLaboklab(61.13% -0.1359 0.0993)
OKLCHoklch(61.13% 0.168 143.9)
XYZxyz(13.9667, 24.7648, 7.7847)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C38 #9C3397
analogous
#629C33 #339C38 #339C6C
triadic
#339C38 #38339C #9C3833
tetradic
#339C38 #33629C #9C3397 #9C6C33
square
#339C38 #33629C #9C3397 #9C6C33
split-complementary
#339C38 #6C339C #9C3362
monochromatic
#154017 #246E27 #339C38 #49C34F #77D37B

Accessibility & contrast

On white

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

On black

5.95
#339C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C38
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C38#FFFFFF#000000##000000
##339C381.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2C
Deuteranopia (green-blind)
#928541
Tritanopia (blue-blind)
#189887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c38;
/* rgb */ color: rgb(51, 156, 56);
/* oklch */ color: oklch(61.1% 0.168 143.9);
Tailwind
colors: {
  custom: {
    50: '#79ba73',
    500: '#339c38',
    950: '#000000',
  },
}
SCSS
$custom: #339c38;
$custom-light: #79ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#339c38",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 56
  },
  "hsl": {
    "h": 122.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.1683,
    "h": 143.9
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#339C38
secondary
#BB70B7
accent
#4ED4DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339C38

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

Preview Lab → · Contrast checker → · Palette generator →

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