#339142#339142

#339142 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.3% C 0.145 H 146.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#339142
RGBrgb(51, 145, 66)
HSLhsl(130, 48%, 38%)
HSVhsv(130, 65%, 57%)
CMYKcmyk(64.8%, 0%, 54.5%, 43.1%)
CIE-LABlab(53.33, -44.74, 33.66)
CIE-LCHlch(53.33, 55.99, 143.04°)
OKLaboklab(58.26% -0.1209 0.0808)
OKLCHoklch(58.26% 0.145 146.3)
XYZxyz(12.4732, 21.3467, 8.6162)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339142 #913382
analogous
#539133 #339142 #339171
triadic
#339142 #423391 #914233
tetradic
#339142 #335391 #913382 #917133
square
#339142 #335391 #913382 #917133
split-complementary
#339142 #713391 #913353
monochromatic
#133619 #23642D #339142 #44BD57 #71CD80

Accessibility & contrast

On white

3.99
#339142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#339142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339142
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339142#FFFFFF#000000##000000
##3391421.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843B
Deuteranopia (green-blind)
#877C48
Tritanopia (blue-blind)
#1A8E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339142;
/* rgb */ color: rgb(51, 145, 66);
/* oklch */ color: oklch(58.3% 0.145 146.3);
Tailwind
colors: {
  custom: {
    50: '#76b278',
    500: '#339142',
    950: '#000000',
  },
}
SCSS
$custom: #339142;
$custom-light: #76b278;
$custom-dark: #000000;
JSON
{
  "hex": "#339142",
  "rgb": {
    "r": 51,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 129.574,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.1454,
    "h": 146.3
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#339142
secondary
#B56BA9
accent
#50C2D8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #339142

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

Preview Lab → · Contrast checker → · Palette generator →

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