#339A23#339A23

#339A23 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.180 H 141.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#339A23
RGBrgb(51, 154, 35)
HSLhsl(112, 63%, 37%)
HSVhsv(112, 77%, 60%)
CMYKcmyk(66.9%, 0%, 77.3%, 39.6%)
CIE-LABlab(56.02, -51.36, 50.19)
CIE-LCHlch(56.02, 71.81, 135.66°)
OKLaboklab(60.4% -0.1403 0.1126)
OKLCHoklch(60.4% 0.18 141.2)
XYZxyz(13.2235, 23.9350, 5.5128)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A23 #8A239A
analogous
#6F9A23 #339A23 #239A4F
triadic
#339A23 #23339A #9A2333
tetradic
#339A23 #236F9A #8A239A #9A4F23
square
#339A23 #236F9A #8A239A #9A4F23
split-complementary
#339A23 #4F239A #9A236F
monochromatic
#12360C #226818 #339A23 #44CC2E #6EDA5D

Accessibility & contrast

On white

3.63
#339A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#339A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A23
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A23#FFFFFF#000000##000000
##339A231.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#1F9583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a23;
/* rgb */ color: rgb(51, 154, 35);
/* oklch */ color: oklch(60.4% 0.180 141.2);
Tailwind
colors: {
  custom: {
    50: '#79b967',
    500: '#339a23',
    950: '#000000',
  },
}
SCSS
$custom: #339a23;
$custom-light: #79b967;
$custom-dark: #000000;
JSON
{
  "hex": "#339a23",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 111.933,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.17992,
    "h": 141.2
  },
  "luminance": 0.23936
}

Semantic roles & 50–950 ramp

primary
#339A23
secondary
#B15ABF
accent
#42E6D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339A23

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

Preview Lab → · Contrast checker → · Palette generator →

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