#339131#339131

#339131 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.160 H 142.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#339131
RGBrgb(51, 145, 49)
HSLhsl(119, 49%, 38%)
HSVhsv(119, 66%, 57%)
CMYKcmyk(64.8%, 0%, 66.2%, 43.1%)
CIE-LABlab(53.14, -46.88, 41.62)
CIE-LCHlch(53.14, 62.69, 138.40°)
OKLaboklab(58.05% -0.1274 0.0965)
OKLCHoklch(58.05% 0.16 142.9)
XYZxyz(12.0443, 21.1752, 6.3576)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339131 #8F3191
analogous
#639131 #339131 #31915F
triadic
#339131 #313391 #913133
tetradic
#339131 #316391 #8F3191 #915F31
square
#339131 #316391 #8F3191 #915F31
split-complementary
#339131 #5F3191 #913163
monochromatic
#133612 #236322 #339131 #43BF41 #70CE6E

Accessibility & contrast

On white

4.01
#339131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#339131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339131
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339131#FFFFFF#000000##000000
##3391311.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948425
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#208D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339131;
/* rgb */ color: rgb(51, 145, 49);
/* oklch */ color: oklch(58.0% 0.160 142.9);
Tailwind
colors: {
  custom: {
    50: '#77b26d',
    500: '#339131',
    950: '#000000',
  },
}
SCSS
$custom: #339131;
$custom-light: #77b26d;
$custom-dark: #000000;
JSON
{
  "hex": "#339131",
  "rgb": {
    "r": 51,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 118.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.15982,
    "h": 142.9
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#339131
secondary
#B468B6
accent
#4FD9D6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339131

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

Preview Lab → · Contrast checker → · Palette generator →

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