#339837#339837

#339837 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.164 H 143.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#339837
RGBrgb(51, 152, 55)
HSLhsl(122, 50%, 40%)
HSVhsv(122, 66%, 60%)
CMYKcmyk(66.4%, 0%, 63.8%, 40.4%)
CIE-LABlab(55.52, -48.80, 41.55)
CIE-LCHlch(55.52, 64.09, 139.59°)
OKLaboklab(60.03% -0.1323 0.097)
OKLCHoklch(60.03% 0.164 143.8)
XYZxyz(13.2823, 23.4348, 7.4371)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339837 #983394
analogous
#629833 #339837 #339869
triadic
#339837 #373398 #983733
tetradic
#339837 #336298 #983394 #986933
square
#339837 #336298 #983394 #986933
split-complementary
#339837 #693398 #983362
monochromatic
#143C16 #246A26 #339837 #47C14C #75D178

Accessibility & contrast

On white

3.69
#339837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#339837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339837
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339837#FFFFFF#000000##000000
##3398371.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#1A9484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339837;
/* rgb */ color: rgb(51, 152, 55);
/* oklch */ color: oklch(60.0% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#78b772',
    500: '#339837',
    950: '#000000',
  },
}
SCSS
$custom: #339837;
$custom-light: #78b772;
$custom-dark: #000000;
JSON
{
  "hex": "#339837",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 122.376,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.16404,
    "h": 143.8
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#339837
secondary
#B96EB6
accent
#4FD4D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339837

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

Preview Lab → · Contrast checker → · Palette generator →

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