#339417#339417

#339417 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.7% C 0.179 H 140.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#339417
RGBrgb(51, 148, 23)
HSLhsl(107, 73%, 34%)
HSVhsv(107, 84%, 58%)
CMYKcmyk(65.5%, 0%, 84.5%, 42%)
CIE-LABlab(53.97, -49.99, 51.96)
CIE-LCHlch(53.97, 72.11, 133.90°)
OKLaboklab(58.68% -0.1372 0.1146)
OKLCHoklch(58.68% 0.179 140.1)
XYZxyz(12.1092, 21.9443, 4.4080)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339417 #781794
analogous
#719417 #339417 #179439
triadic
#339417 #173394 #941733
tetradic
#339417 #177194 #781794 #943917
square
#339417 #177194 #781794 #943917
split-complementary
#339417 #391794 #941771
monochromatic
#0E2A07 #215F0F #339417 #45C91F #67E244

Accessibility & contrast

On white

3.90
#339417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#339417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339417
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339417#FFFFFF#000000##000000
##3394171.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#248F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #339417;
/* rgb */ color: rgb(51, 148, 23);
/* oklch */ color: oklch(58.7% 0.179 140.1);
Tailwind
colors: {
  custom: {
    50: '#79b461',
    500: '#339417',
    950: '#000000',
  },
}
SCSS
$custom: #339417;
$custom-light: #79b461;
$custom-dark: #000000;
JSON
{
  "hex": "#339417",
  "rgb": {
    "r": 51,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 106.56,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.1788,
    "h": 140.1
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#339417
secondary
#A644C3
accent
#38F0C7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #339417

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

Preview Lab → · Contrast checker → · Palette generator →

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