#339731#339731

#339731 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.167 H 142.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#339731
RGBrgb(51, 151, 49)
HSLhsl(119, 51%, 39%)
HSVhsv(119, 68%, 59%)
CMYKcmyk(66.2%, 0%, 67.5%, 40.8%)
CIE-LABlab(55.13, -49.08, 43.79)
CIE-LCHlch(55.13, 65.78, 138.26°)
OKLaboklab(59.69% -0.1334 0.1011)
OKLCHoklch(59.69% 0.167 142.9)
XYZxyz(12.9855, 23.0575, 6.6713)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339731 #953197
analogous
#669731 #339731 #319762
triadic
#339731 #313397 #973133
tetradic
#339731 #316697 #953197 #976231
square
#339731 #316697 #953197 #976231
split-complementary
#339731 #623197 #973166
monochromatic
#143B13 #236922 #339731 #46C243 #73D171

Accessibility & contrast

On white

3.74
#339731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#339731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339731
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339731#FFFFFF#000000##000000
##3397311.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#1D9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339731;
/* rgb */ color: rgb(51, 151, 49);
/* oklch */ color: oklch(59.7% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#78b76e',
    500: '#339731',
    950: '#000000',
  },
}
SCSS
$custom: #339731;
$custom-light: #78b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#339731",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 118.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.16736,
    "h": 142.9
  },
  "luminance": 0.23059
}

Semantic roles & 50–950 ramp

primary
#339731
secondary
#B76BB9
accent
#4DDAD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339731

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

Preview Lab → · Contrast checker → · Palette generator →

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