#339F28#339F28

#339F28 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.183 H 141.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#339F28
RGBrgb(51, 159, 40)
HSLhsl(114, 60%, 39%)
HSVhsv(114, 75%, 62%)
CMYKcmyk(67.9%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.71, -52.72, 50.08)
CIE-LCHlch(57.71, 72.72, 136.47°)
OKLaboklab(61.8% -0.1437 0.1131)
OKLCHoklch(61.8% 0.183 141.8)
XYZxyz(14.1456, 25.6518, 6.2129)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F28 #94289F
analogous
#6F9F28 #339F28 #289F59
triadic
#339F28 #28339F #9F2833
tetradic
#339F28 #286F9F #94289F #9F5928
square
#339F28 #286F9F #94289F #9F5928
split-complementary
#339F28 #59289F #9F286F
monochromatic
#143D0F #236E1C #339F28 #45CD37 #73D968

Accessibility & contrast

On white

3.43
#339F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#339F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F28
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F28#FFFFFF#000000##000000
##339F281.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#1B9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f28;
/* rgb */ color: rgb(51, 159, 40);
/* oklch */ color: oklch(61.8% 0.183 141.8);
Tailwind
colors: {
  custom: {
    50: '#7abc6a',
    500: '#339f28',
    950: '#000000',
  },
}
SCSS
$custom: #339f28;
$custom-light: #7abc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#339f28",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 114.454,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.18289,
    "h": 141.8
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#339F28
secondary
#B764BF
accent
#45E3D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F28

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

Preview Lab → · Contrast checker → · Palette generator →

#339F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva