#339E30#339E30

#339E30 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.177 H 142.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#339E30
RGBrgb(51, 158, 48)
HSLhsl(118, 53%, 40%)
HSVhsv(118, 70%, 62%)
CMYKcmyk(67.7%, 0%, 69.6%, 38%)
CIE-LABlab(57.43, -51.68, 46.69)
CIE-LCHlch(57.43, 69.65, 137.91°)
OKLaboklab(61.6% -0.1405 0.107)
OKLCHoklch(61.6% 0.177 142.7)
XYZxyz(14.1248, 25.3695, 6.9481)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E30 #9B309E
analogous
#6A9E30 #339E30 #309E64
triadic
#339E30 #30339E #9E3033
tetradic
#339E30 #306A9E #9B309E #9E6430
square
#339E30 #306A9E #9B309E #9E6430
split-complementary
#339E30 #64309E #9E306A
monochromatic
#154013 #246F22 #339E30 #48C645 #76D574

Accessibility & contrast

On white

3.46
#339E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#339E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E30
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E30#FFFFFF#000000##000000
##339E301.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F20
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#1A9988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e30;
/* rgb */ color: rgb(51, 158, 48);
/* oklch */ color: oklch(61.6% 0.177 142.7);
Tailwind
colors: {
  custom: {
    50: '#7abc6e',
    500: '#339e30',
    950: '#000000',
  },
}
SCSS
$custom: #339e30;
$custom-light: #7abc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#339e30",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 48
  },
  "hsl": {
    "h": 118.364,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.17663,
    "h": 142.7
  },
  "luminance": 0.25371
}

Semantic roles & 50–950 ramp

primary
#339E30
secondary
#BA6DBD
accent
#4BDDD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E30

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

Preview Lab → · Contrast checker → · Palette generator →

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