#339128#339128

#339128 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.0% C 0.166 H 141.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#339128
RGBrgb(51, 145, 40)
HSLhsl(114, 57%, 36%)
HSVhsv(114, 72%, 57%)
CMYKcmyk(64.8%, 0%, 72.4%, 43.1%)
CIE-LABlab(53.07, -47.75, 45.35)
CIE-LCHlch(53.07, 65.85, 136.48°)
OKLaboklab(57.96% -0.1303 0.1032)
OKLCHoklch(57.96% 0.166 141.6)
XYZxyz(11.8730, 21.1066, 5.4554)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339128 #862891
analogous
#689128 #339128 #289152
triadic
#339128 #283391 #912833
tetradic
#339128 #286891 #862891 #915228
square
#339128 #286891 #862891 #915228
split-complementary
#339128 #522891 #912868
monochromatic
#11310E #22611B #339128 #44C135 #6CD360

Accessibility & contrast

On white

4.02
#339128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#339128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339128
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339128#FFFFFF#000000##000000
##3391281.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958317
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#228C7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339128;
/* rgb */ color: rgb(51, 145, 40);
/* oklch */ color: oklch(58.0% 0.166 141.6);
Tailwind
colors: {
  custom: {
    50: '#77b268',
    500: '#339128',
    950: '#000000',
  },
}
SCSS
$custom: #339128;
$custom-light: #77b268;
$custom-dark: #000000;
JSON
{
  "hex": "#339128",
  "rgb": {
    "r": 51,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 113.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.16622,
    "h": 141.6
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#339128
secondary
#AF5CB9
accent
#48E0D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339128

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

Preview Lab → · Contrast checker → · Palette generator →

#339128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva