#339518#339518

#339518 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.180 H 140.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#339518
RGBrgb(51, 149, 24)
HSLhsl(107, 72%, 34%)
HSVhsv(107, 84%, 58%)
CMYKcmyk(65.8%, 0%, 83.9%, 41.6%)
CIE-LABlab(54.31, -50.29, 51.99)
CIE-LCHlch(54.31, 72.34, 134.05°)
OKLaboklab(58.96% -0.138 0.1148)
OKLCHoklch(58.96% 0.18 140.2)
XYZxyz(12.2770, 22.2634, 4.5143)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339518 #7A1895
analogous
#729518 #339518 #18953C
triadic
#339518 #183395 #951833
tetradic
#339518 #187295 #7A1895 #953C18
square
#339518 #187295 #7A1895 #953C18
split-complementary
#339518 #3C1895 #951872
monochromatic
#0F2C07 #216010 #339518 #45CA20 #68E146

Accessibility & contrast

On white

3.85
#339518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#339518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339518
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339518#FFFFFF#000000##000000
##3395181.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#23907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #339518;
/* rgb */ color: rgb(51, 149, 24);
/* oklch */ color: oklch(59.0% 0.180 140.2);
Tailwind
colors: {
  custom: {
    50: '#79b562',
    500: '#339518',
    950: '#000000',
  },
}
SCSS
$custom: #339518;
$custom-light: #79b562;
$custom-dark: #000000;
JSON
{
  "hex": "#339518",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 107.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.17951,
    "h": 140.2
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#339518
secondary
#A846C2
accent
#39EFC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339518

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

Preview Lab → · Contrast checker → · Palette generator →

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