#339852#339852

#339852 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.4% C 0.140 H 150.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#339852
RGBrgb(51, 152, 82)
HSLhsl(138, 50%, 40%)
HSVhsv(138, 66%, 60%)
CMYKcmyk(66.4%, 0%, 46.1%, 40.4%)
CIE-LABlab(55.85, -44.94, 28.47)
CIE-LCHlch(55.85, 53.19, 147.65°)
OKLaboklab(60.42% -0.1212 0.0699)
OKLCHoklch(60.42% 0.14 150)
XYZxyz(14.1154, 23.7680, 11.8248)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339852 #983379
analogous
#469833 #339852 #339885
triadic
#339852 #523398 #985233
tetradic
#339852 #334698 #983379 #988533
square
#339852 #334698 #983379 #988533
split-complementary
#339852 #853398 #983346
monochromatic
#143C21 #246A39 #339852 #47C16C #75D191

Accessibility & contrast

On white

3.65
#339852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#339852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339852
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339852#FFFFFF#000000##000000
##3398521.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4D
Deuteranopia (green-blind)
#8C8257
Tritanopia (blue-blind)
#089587
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339852;
/* rgb */ color: rgb(51, 152, 82);
/* oklch */ color: oklch(60.4% 0.140 150.0);
Tailwind
colors: {
  custom: {
    50: '#77b783',
    500: '#339852',
    950: '#000000',
  },
}
SCSS
$custom: #339852;
$custom-light: #77b783;
$custom-dark: #000000;
JSON
{
  "hex": "#339852",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 138.416,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.13991,
    "h": 150
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#339852
secondary
#B96EA2
accent
#4FAFD9
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #339852

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

Preview Lab → · Contrast checker → · Palette generator →

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