#339F21#339F21

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

Color values

HEX#339F21
RGBrgb(51, 159, 33)
HSLhsl(111, 66%, 38%)
HSVhsv(111, 79%, 62%)
CMYKcmyk(67.9%, 0%, 79.2%, 37.6%)
CIE-LABlab(57.66, -53.22, 52.44)
CIE-LCHlch(57.66, 74.72, 135.42°)
OKLaboklab(61.76% -0.1454 0.1171)
OKLCHoklch(61.76% 0.187 141.2)
XYZxyz(14.0372, 25.6084, 5.6417)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F21 #8D219F
analogous
#729F21 #339F21 #219F4E
triadic
#339F21 #21339F #9F2133
tetradic
#339F21 #21729F #8D219F #9F4E21
square
#339F21 #21729F #8D219F #9F4E21
split-complementary
#339F21 #4E219F #9F2172
monochromatic
#123A0C #236C16 #339F21 #43D22C #6FDD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339F21#FFFFFF#000000##000000
##339F211.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)
#968730
Tritanopia (blue-blind)
#1D9A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339f21;
/* rgb */ color: rgb(51, 159, 33);
/* oklch */ color: oklch(61.8% 0.187 141.2);
Tailwind
colors: {
  custom: {
    50: '#7abc67',
    500: '#339f21',
    950: '#000000',
  },
}
SCSS
$custom: #339f21;
$custom-light: #7abc67;
$custom-dark: #000000;
JSON
{
  "hex": "#339f21",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 111.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.18669,
    "h": 141.2
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#339F21
secondary
#B35AC2
accent
#3FE9D0
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339F21

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

Preview Lab → · Contrast checker → · Palette generator →

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