#339928#339928

#339928 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.176 H 141.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#339928
RGBrgb(51, 153, 40)
HSLhsl(114, 59%, 38%)
HSVhsv(114, 74%, 60%)
CMYKcmyk(66.7%, 0%, 73.9%, 40%)
CIE-LABlab(55.72, -50.62, 48.08)
CIE-LCHlch(55.72, 69.82, 136.48°)
OKLaboklab(60.16% -0.1381 0.1089)
OKLCHoklch(60.16% 0.176 141.7)
XYZxyz(13.1388, 23.6381, 5.8773)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339928 #8E2899
analogous
#6C9928 #339928 #289955
triadic
#339928 #283399 #992833
tetradic
#339928 #286C99 #8E2899 #995528
square
#339928 #286C99 #8E2899 #995528
split-complementary
#339928 #552899 #99286C
monochromatic
#13380F #23681B #339928 #43CA35 #70D765

Accessibility & contrast

On white

3.67
#339928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#339928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339928
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339928#FFFFFF#000000##000000
##3399281.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#918234
Tritanopia (blue-blind)
#1E9483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339928;
/* rgb */ color: rgb(51, 153, 40);
/* oklch */ color: oklch(60.2% 0.176 141.7);
Tailwind
colors: {
  custom: {
    50: '#79b869',
    500: '#339928',
    950: '#000000',
  },
}
SCSS
$custom: #339928;
$custom-light: #79b869;
$custom-dark: #000000;
JSON
{
  "hex": "#339928",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 114.159,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.17585,
    "h": 141.7
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#339928
secondary
#B460BD
accent
#46E2D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339928

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

Preview Lab → · Contrast checker → · Palette generator →

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