#339B38#339B38

#339B38 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.9% C 0.167 H 143.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#339B38
RGBrgb(51, 155, 56)
HSLhsl(123, 50%, 40%)
HSVhsv(123, 67%, 61%)
CMYKcmyk(67.1%, 0%, 63.9%, 39.2%)
CIE-LABlab(56.52, -49.78, 42.22)
CIE-LCHlch(56.52, 65.27, 139.70°)
OKLaboklab(60.86% -0.1349 0.0985)
OKLCHoklch(60.86% 0.167 143.9)
XYZxyz(13.7996, 24.4306, 7.7290)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B38 #9B3396
analogous
#629B33 #339B38 #339B6C
triadic
#339B38 #38339B #9B3833
tetradic
#339B38 #33629B #9B3396 #9B6C33
square
#339B38 #33629B #9B3396 #9B6C33
split-complementary
#339B38 #6C339B #9B3362
monochromatic
#153F17 #246D27 #339B38 #48C34E #76D27B

Accessibility & contrast

On white

3.57
#339B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#339B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B38
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B38#FFFFFF#000000##000000
##339B381.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2C
Deuteranopia (green-blind)
#918440
Tritanopia (blue-blind)
#189786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339b38;
/* rgb */ color: rgb(51, 155, 56);
/* oklch */ color: oklch(60.9% 0.167 143.9);
Tailwind
colors: {
  custom: {
    50: '#78b973',
    500: '#339b38',
    950: '#000000',
  },
}
SCSS
$custom: #339b38;
$custom-light: #78b973;
$custom-dark: #000000;
JSON
{
  "hex": "#339b38",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 122.885,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.16705,
    "h": 143.9
  },
  "luminance": 0.24432
}

Semantic roles & 50–950 ramp

primary
#339B38
secondary
#BA6FB7
accent
#4ED3DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339B38

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

Preview Lab → · Contrast checker → · Palette generator →

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