#339E40#339E40

#339E40 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.8% C 0.164 H 145.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#339E40
RGBrgb(51, 158, 64)
HSLhsl(127, 51%, 41%)
HSVhsv(127, 68%, 62%)
CMYKcmyk(67.7%, 0%, 59.5%, 38%)
CIE-LABlab(57.58, -49.91, 39.71)
CIE-LCHlch(57.58, 63.78, 141.49°)
OKLaboklab(61.77% -0.1349 0.0938)
OKLCHoklch(61.77% 0.164 145.2)
XYZxyz(14.5166, 25.5262, 9.0115)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E40 #9E3391
analogous
#5B9E33 #339E40 #339E75
triadic
#339E40 #40339E #9E4033
tetradic
#339E40 #335B9E #9E3391 #9E7533
square
#339E40 #335B9E #9E3391 #9E7533
split-complementary
#339E40 #75339E #9E335B
monochromatic
#15411B #24702D #339E40 #4AC459 #78D383

Accessibility & contrast

On white

3.44
#339E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#339E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E40
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E40#FFFFFF#000000##000000
##339E401.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#129A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e40;
/* rgb */ color: rgb(51, 158, 64);
/* oklch */ color: oklch(61.8% 0.164 145.2);
Tailwind
colors: {
  custom: {
    50: '#79bc78',
    500: '#339e40',
    950: '#000000',
  },
}
SCSS
$custom: #339e40;
$custom-light: #79bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#339e40",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 127.29,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.16436,
    "h": 145.2
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#339E40
secondary
#BC71B3
accent
#4DC9DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339E40

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

Preview Lab → · Contrast checker → · Palette generator →

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