#339B30#339B30

#339B30 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.173 H 142.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#339B30
RGBrgb(51, 155, 48)
HSLhsl(118, 53%, 40%)
HSVhsv(118, 69%, 61%)
CMYKcmyk(67.1%, 0%, 69%, 39.2%)
CIE-LABlab(56.45, -50.62, 45.63)
CIE-LCHlch(56.45, 68.15, 137.97°)
OKLaboklab(60.78% -0.1376 0.1048)
OKLCHoklch(60.78% 0.173 142.7)
XYZxyz(13.6193, 24.3585, 6.7797)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B30 #98309B
analogous
#689B30 #339B30 #309B63
triadic
#339B30 #30339B #9B3033
tetradic
#339B30 #30689B #98309B #9B6330
square
#339B30 #30689B #98309B #9B6330
split-complementary
#339B30 #63309B #9B3068
monochromatic
#143E13 #246C22 #339B30 #47C543 #75D372

Accessibility & contrast

On white

3.58
#339B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#339B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B30
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B30#FFFFFF#000000##000000
##339B301.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D21
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#1B9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b30;
/* rgb */ color: rgb(51, 155, 48);
/* oklch */ color: oklch(60.8% 0.173 142.7);
Tailwind
colors: {
  custom: {
    50: '#79b96e',
    500: '#339b30',
    950: '#000000',
  },
}
SCSS
$custom: #339b30;
$custom-light: #79b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#339b30",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 48
  },
  "hsl": {
    "h": 118.318,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.17299,
    "h": 142.7
  },
  "luminance": 0.2436
}

Semantic roles & 50–950 ramp

primary
#339B30
secondary
#B96CBB
accent
#4CDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B30

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

Preview Lab → · Contrast checker → · Palette generator →

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