#339B23#339B23

#339B23 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.181 H 141.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#339B23
RGBrgb(51, 155, 35)
HSLhsl(112, 63%, 37%)
HSVhsv(112, 77%, 61%)
CMYKcmyk(67.1%, 0%, 77.4%, 39.2%)
CIE-LABlab(56.35, -51.71, 50.51)
CIE-LCHlch(56.35, 72.28, 135.67°)
OKLaboklab(60.67% -0.1412 0.1133)
OKLCHoklch(60.67% 0.181 141.3)
XYZxyz(13.3893, 24.2665, 5.5681)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B23 #8B239B
analogous
#6F9B23 #339B23 #239B4F
triadic
#339B23 #23339B #9B2333
tetradic
#339B23 #236F9B #8B239B #9B4F23
square
#339B23 #236F9B #8B239B #9B4F23
split-complementary
#339B23 #4F239B #9B236F
monochromatic
#12370C #236918 #339B23 #43CD2E #6EDB5E

Accessibility & contrast

On white

3.59
#339B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#339B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B23
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B23#FFFFFF#000000##000000
##339B231.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b23;
/* rgb */ color: rgb(51, 155, 35);
/* oklch */ color: oklch(60.7% 0.181 141.3);
Tailwind
colors: {
  custom: {
    50: '#7ab967',
    500: '#339b23',
    950: '#000000',
  },
}
SCSS
$custom: #339b23;
$custom-light: #7ab967;
$custom-dark: #000000;
JSON
{
  "hex": "#339b23",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 112,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.18108,
    "h": 141.3
  },
  "luminance": 0.24268
}

Semantic roles & 50–950 ramp

primary
#339B23
secondary
#B25ABF
accent
#42E6D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339B23

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

Preview Lab → · Contrast checker → · Palette generator →

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