#339C23#339C23

#339C23 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.182 H 141.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#339C23
RGBrgb(51, 156, 35)
HSLhsl(112, 63%, 37%)
HSVhsv(112, 78%, 61%)
CMYKcmyk(67.3%, 0%, 77.6%, 38.8%)
CIE-LABlab(56.68, -52.05, 50.84)
CIE-LCHlch(56.68, 72.76, 135.68°)
OKLaboklab(60.95% -0.1422 0.114)
OKLCHoklch(60.95% 0.182 141.3)
XYZxyz(13.5564, 24.6007, 5.6238)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C23 #8C239C
analogous
#709C23 #339C23 #239C4F
triadic
#339C23 #23339C #9C2333
tetradic
#339C23 #23709C #8C239C #9C4F23
square
#339C23 #23709C #8C239C #9C4F23
split-complementary
#339C23 #4F239C #9C2370
monochromatic
#12380D #236A18 #339C23 #43CE2E #6FDB5E

Accessibility & contrast

On white

3.55
#339C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#339C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C23
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C23#FFFFFF#000000##000000
##339C231.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#1E9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c23;
/* rgb */ color: rgb(51, 156, 35);
/* oklch */ color: oklch(60.9% 0.182 141.3);
Tailwind
colors: {
  custom: {
    50: '#7aba67',
    500: '#339c23',
    950: '#000000',
  },
}
SCSS
$custom: #339c23;
$custom-light: #7aba67;
$custom-dark: #000000;
JSON
{
  "hex": "#339c23",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 112.066,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.18223,
    "h": 141.3
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#339C23
secondary
#B25BC0
accent
#41E6D1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339C23

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

Preview Lab → · Contrast checker → · Palette generator →

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