#339231#339231

#339231 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.161 H 142.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#339231
RGBrgb(51, 146, 49)
HSLhsl(119, 50%, 38%)
HSVhsv(119, 66%, 57%)
CMYKcmyk(65.1%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.47, -47.25, 41.98)
CIE-LCHlch(53.47, 63.21, 138.38°)
OKLaboklab(58.32% -0.1284 0.0972)
OKLCHoklch(58.32% 0.161 142.9)
XYZxyz(12.1978, 21.4821, 6.4088)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339231 #903192
analogous
#639231 #339231 #31925F
triadic
#339231 #313392 #923133
tetradic
#339231 #316392 #903192 #925F31
square
#339231 #316392 #903192 #925F31
split-complementary
#339231 #5F3192 #923163
monochromatic
#133612 #236422 #339231 #44BF41 #71CF6F

Accessibility & contrast

On white

3.96
#339231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#339231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339231
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339231#FFFFFF#000000##000000
##3392311.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958525
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#1F8E7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #339231;
/* rgb */ color: rgb(51, 146, 49);
/* oklch */ color: oklch(58.3% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#77b36e',
    500: '#339231',
    950: '#000000',
  },
}
SCSS
$custom: #339231;
$custom-light: #77b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#339231",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 118.763,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.16109,
    "h": 142.9
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339231

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

Preview Lab → · Contrast checker → · Palette generator →

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