#339E1B#339E1B

#339E1B is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.188 H 140.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#339E1B
RGBrgb(51, 158, 27)
HSLhsl(109, 71%, 36%)
HSVhsv(109, 83%, 62%)
CMYKcmyk(67.7%, 0%, 82.9%, 38%)
CIE-LABlab(57.30, -53.24, 53.91)
CIE-LCHlch(57.30, 75.77, 134.64°)
OKLaboklab(61.45% -0.1458 0.1193)
OKLCHoklch(61.45% 0.188 140.7)
XYZxyz(13.7892, 25.2352, 5.1809)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E1B #861B9E
analogous
#759E1B #339E1B #1B9E45
triadic
#339E1B #1B339E #9E1B33
tetradic
#339E1B #1B759E #861B9E #9E451B
square
#339E1B #1B759E #861B9E #9E451B
split-complementary
#339E1B #451B9E #9E1B75
monochromatic
#113509 #226A12 #339E1B #44D224 #6CE152

Accessibility & contrast

On white

3.47
#339E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#339E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E1B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E1B#FFFFFF#000000##000000
##339E1B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#1F9986
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e1b;
/* rgb */ color: rgb(51, 158, 27);
/* oklch */ color: oklch(61.4% 0.188 140.7);
Tailwind
colors: {
  custom: {
    50: '#7bbc64',
    500: '#339e1b',
    950: '#000000',
  },
}
SCSS
$custom: #339e1b;
$custom-light: #7bbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#339e1b",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 109.008,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.18835,
    "h": 140.7
  },
  "luminance": 0.25237
}

Semantic roles & 50–950 ramp

primary
#339E1B
secondary
#AF51C4
accent
#3AEECD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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