#339252#339252

#339252 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.8% C 0.131 H 150.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#339252
RGBrgb(51, 146, 82)
HSLhsl(140, 48%, 39%)
HSVhsv(140, 65%, 57%)
CMYKcmyk(65.1%, 0%, 43.8%, 42.7%)
CIE-LABlab(53.89, -42.53, 25.94)
CIE-LCHlch(53.89, 49.82, 148.63°)
OKLaboklab(58.8% -0.1148 0.064)
OKLCHoklch(58.8% 0.131 150.9)
XYZxyz(13.1661, 21.8694, 11.5084)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339252 #923373
analogous
#439233 #339252 #339281
triadic
#339252 #523392 #925233
tetradic
#339252 #334392 #923373 #928133
square
#339252 #334392 #923373 #928133
split-complementary
#339252 #813392 #923343
monochromatic
#13371F #236539 #339252 #44BE6C #72CE90

Accessibility & contrast

On white

3.91
#339252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#339252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339252
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339252#FFFFFF#000000##000000
##3392521.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864D
Deuteranopia (green-blind)
#867D56
Tritanopia (blue-blind)
#0E9082
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #339252;
/* rgb */ color: rgb(51, 146, 82);
/* oklch */ color: oklch(58.8% 0.131 150.9);
Tailwind
colors: {
  custom: {
    50: '#76b383',
    500: '#339252',
    950: '#000000',
  },
}
SCSS
$custom: #339252;
$custom-light: #76b383;
$custom-dark: #000000;
JSON
{
  "hex": "#339252",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 82
  },
  "hsl": {
    "h": 139.579,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.13148,
    "h": 150.9
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#339252
secondary
#B66B9D
accent
#50ABD8
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #339252

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

Preview Lab → · Contrast checker → · Palette generator →

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