#339030#339030

#339030 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.159 H 142.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#339030
RGBrgb(51, 144, 48)
HSLhsl(118, 50%, 38%)
HSVhsv(118, 67%, 56%)
CMYKcmyk(64.6%, 0%, 66.7%, 43.5%)
CIE-LABlab(52.80, -46.61, 41.69)
CIE-LCHlch(52.80, 62.54, 138.19°)
OKLaboklab(57.76% -0.1268 0.0965)
OKLCHoklch(57.76% 0.159 142.7)
XYZxyz(11.8713, 20.8626, 6.1970)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339030 #8D3090
analogous
#639030 #339030 #30905D
triadic
#339030 #303390 #903033
tetradic
#339030 #306390 #8D3090 #905D30
square
#339030 #306390 #8D3090 #905D30
split-complementary
#339030 #5D3090 #903063
monochromatic
#123411 #236221 #339030 #43BE3F #6FCE6C

Accessibility & contrast

On white

4.06
#339030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#339030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339030
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339030#FFFFFF#000000##000000
##3390301.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#218C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #339030;
/* rgb */ color: rgb(51, 144, 48);
/* oklch */ color: oklch(57.8% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b16d',
    500: '#339030',
    950: '#000000',
  },
}
SCSS
$custom: #339030;
$custom-light: #77b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#339030",
  "rgb": {
    "r": 51,
    "g": 144,
    "b": 48
  },
  "hsl": {
    "h": 118.125,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.15931,
    "h": 142.7
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#339030
secondary
#B366B5
accent
#4EDAD5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339030

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

Preview Lab → · Contrast checker → · Palette generator →

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