#339A38#339A38

#339A38 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.166 H 143.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#339A38
RGBrgb(51, 154, 56)
HSLhsl(123, 50%, 40%)
HSVhsv(123, 67%, 60%)
CMYKcmyk(66.9%, 0%, 63.6%, 39.6%)
CIE-LABlab(56.19, -49.41, 41.85)
CIE-LCHlch(56.19, 64.75, 139.74°)
OKLaboklab(60.59% -0.134 0.0977)
OKLCHoklch(60.59% 0.166 143.9)
XYZxyz(13.6338, 24.0991, 7.6737)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A38 #9A3395
analogous
#619A33 #339A38 #339A6C
triadic
#339A38 #38339A #9A3833
tetradic
#339A38 #33619A #9A3395 #9A6C33
square
#339A38 #33619A #9A3395 #9A6C33
split-complementary
#339A38 #6C339A #9A3361
monochromatic
#153E17 #246C27 #339A38 #48C24E #76D27A

Accessibility & contrast

On white

3.61
#339A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#339A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A38
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A38#FFFFFF#000000##000000
##339A381.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2D
Deuteranopia (green-blind)
#918340
Tritanopia (blue-blind)
#199685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a38;
/* rgb */ color: rgb(51, 154, 56);
/* oklch */ color: oklch(60.6% 0.166 143.9);
Tailwind
colors: {
  custom: {
    50: '#78b972',
    500: '#339a38',
    950: '#000000',
  },
}
SCSS
$custom: #339a38;
$custom-light: #78b972;
$custom-dark: #000000;
JSON
{
  "hex": "#339a38",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 122.913,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.16579,
    "h": 143.9
  },
  "luminance": 0.24101
}

Semantic roles & 50–950 ramp

primary
#339A38
secondary
#BA6FB6
accent
#4ED3DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339A38

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

Preview Lab → · Contrast checker → · Palette generator →

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