#339020#339020

#339020 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.170 H 140.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#339020
RGBrgb(51, 144, 32)
HSLhsl(110, 64%, 35%)
HSVhsv(110, 78%, 56%)
CMYKcmyk(64.6%, 0%, 77.8%, 43.5%)
CIE-LABlab(52.68, -48.02, 47.95)
CIE-LCHlch(52.68, 67.87, 135.04°)
OKLaboklab(57.62% -0.1315 0.1075)
OKLCHoklch(57.62% 0.17 140.7)
XYZxyz(11.5986, 20.7535, 4.7608)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339020 #7D2090
analogous
#6B9020 #339020 #209045
triadic
#339020 #203390 #902033
tetradic
#339020 #206B90 #7D2090 #904520
square
#339020 #206B90 #7D2090 #904520
split-complementary
#339020 #452090 #90206B
monochromatic
#102C0A #215E15 #339020 #45C22B #69D952

Accessibility & contrast

On white

4.08
#339020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#339020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339020
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339020#FFFFFF#000000##000000
##3390201.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948205
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#248B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #339020;
/* rgb */ color: rgb(51, 144, 32);
/* oklch */ color: oklch(57.6% 0.170 140.7);
Tailwind
colors: {
  custom: {
    50: '#77b164',
    500: '#339020',
    950: '#000000',
  },
}
SCSS
$custom: #339020;
$custom-light: #77b164;
$custom-dark: #000000;
JSON
{
  "hex": "#339020",
  "rgb": {
    "r": 51,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 109.821,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.16985,
    "h": 140.7
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#339020
secondary
#AA50BC
accent
#41E7CB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339020

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

Preview Lab → · Contrast checker → · Palette generator →

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