#339C30#339C30

#339C30 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.1% C 0.174 H 142.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#339C30
RGBrgb(51, 156, 48)
HSLhsl(118, 53%, 40%)
HSVhsv(118, 69%, 61%)
CMYKcmyk(67.3%, 0%, 69.2%, 38.8%)
CIE-LABlab(56.77, -50.98, 45.99)
CIE-LCHlch(56.77, 68.65, 137.95°)
OKLaboklab(61.05% -0.1386 0.1056)
OKLCHoklch(61.05% 0.174 142.7)
XYZxyz(13.7864, 24.6927, 6.8354)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C30 #99309C
analogous
#699C30 #339C30 #309C63
triadic
#339C30 #30339C #9C3033
tetradic
#339C30 #30699C #99309C #9C6330
square
#339C30 #30699C #99309C #9C6330
split-complementary
#339C30 #63309C #9C3069
monochromatic
#143E13 #246D22 #339C30 #47C544 #75D473

Accessibility & contrast

On white

3.54
#339C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#339C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C30
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C30#FFFFFF#000000##000000
##339C301.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D21
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#1B9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c30;
/* rgb */ color: rgb(51, 156, 48);
/* oklch */ color: oklch(61.1% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#79ba6e',
    500: '#339c30',
    950: '#000000',
  },
}
SCSS
$custom: #339c30;
$custom-light: #79ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#339c30",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 48
  },
  "hsl": {
    "h": 118.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.17421,
    "h": 142.7
  },
  "luminance": 0.24694
}

Semantic roles & 50–950 ramp

primary
#339C30
secondary
#B96CBC
accent
#4BDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339C30

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

Preview Lab → · Contrast checker → · Palette generator →

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