#339F1C#339F1C

#339F1C is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.189 H 140.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#339F1C
RGBrgb(51, 159, 28)
HSLhsl(109, 70%, 37%)
HSVhsv(109, 82%, 62%)
CMYKcmyk(67.9%, 0%, 82.4%, 37.6%)
CIE-LABlab(57.64, -53.52, 53.94)
CIE-LCHlch(57.64, 75.99, 134.78°)
OKLaboklab(61.73% -0.1465 0.1195)
OKLCHoklch(61.73% 0.189 140.8)
XYZxyz(13.9723, 25.5825, 5.3000)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F1C #881C9F
analogous
#759F1C #339F1C #1C9F47
triadic
#339F1C #1C339F #9F1C33
tetradic
#339F1C #1C759F #881C9F #9F471C
square
#339F1C #1C759F #881C9F #9F471C
split-complementary
#339F1C #471C9F #9F1C75
monochromatic
#12370A #226B13 #339F1C #44D325 #6DE154

Accessibility & contrast

On white

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

On black

6.12
#339F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F1C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F1C#FFFFFF#000000##000000
##339F1C1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#1E9A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339f1c;
/* rgb */ color: rgb(51, 159, 28);
/* oklch */ color: oklch(61.7% 0.189 140.8);
Tailwind
colors: {
  custom: {
    50: '#7bbc65',
    500: '#339f1c',
    950: '#000000',
  },
}
SCSS
$custom: #339f1c;
$custom-light: #7bbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#339f1c",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 109.466,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.18903,
    "h": 140.8
  },
  "luminance": 0.25584
}

Semantic roles & 50–950 ramp

primary
#339F1C
secondary
#B053C4
accent
#3BEDCE
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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