#339E28#339E28

#339E28 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.182 H 141.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#339E28
RGBrgb(51, 158, 40)
HSLhsl(114, 60%, 39%)
HSVhsv(114, 75%, 62%)
CMYKcmyk(67.7%, 0%, 74.7%, 38%)
CIE-LABlab(57.38, -52.38, 49.75)
CIE-LCHlch(57.38, 72.24, 136.47°)
OKLaboklab(61.53% -0.1428 0.1124)
OKLCHoklch(61.53% 0.182 141.8)
XYZxyz(13.9743, 25.3093, 6.1558)
Luminance0.2531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E28 #93289E
analogous
#6E9E28 #339E28 #289E58
triadic
#339E28 #28339E #9E2833
tetradic
#339E28 #286E9E #93289E #9E5828
square
#339E28 #286E9E #93289E #9E5828
split-complementary
#339E28 #58289E #9E286E
monochromatic
#133C0F #236D1C #339E28 #45CC37 #72D968

Accessibility & contrast

On white

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

On black

6.06
#339E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E28
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E28#FFFFFF#000000##000000
##339E281.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#1C9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e28;
/* rgb */ color: rgb(51, 158, 40);
/* oklch */ color: oklch(61.5% 0.182 141.8);
Tailwind
colors: {
  custom: {
    50: '#7abc6a',
    500: '#339e28',
    950: '#000000',
  },
}
SCSS
$custom: #339e28;
$custom-light: #7abc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#339e28",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 114.407,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.18174,
    "h": 141.8
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#339E28
secondary
#B663BF
accent
#45E3D4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E28

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

Preview Lab → · Contrast checker → · Palette generator →

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