#339B26#339B26

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

Color values

HEX#339B26
RGBrgb(51, 155, 38)
HSLhsl(113, 61%, 38%)
HSVhsv(113, 75%, 61%)
CMYKcmyk(67.1%, 0%, 75.5%, 39.2%)
CIE-LABlab(56.37, -51.49, 49.47)
CIE-LCHlch(56.37, 71.40, 136.14°)
OKLaboklab(60.7% -0.1405 0.1116)
OKLCHoklch(60.7% 0.179 141.6)
XYZxyz(13.4357, 24.2851, 5.8128)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B26 #8E269B
analogous
#6E9B26 #339B26 #269B53
triadic
#339B26 #26339B #9B2633
tetradic
#339B26 #266E9B #8E269B #9B5326
square
#339B26 #266E9B #8E269B #9B5326
split-complementary
#339B26 #53269B #9B266E
monochromatic
#13390E #236A1A #339B26 #43CC32 #70D963

Accessibility & contrast

On white

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

On black

5.86
#339B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B26
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B26#FFFFFF#000000##000000
##339B261.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0E
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#1E9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b26;
/* rgb */ color: rgb(51, 155, 38);
/* oklch */ color: oklch(60.7% 0.179 141.6);
Tailwind
colors: {
  custom: {
    50: '#79b969',
    500: '#339b26',
    950: '#000000',
  },
}
SCSS
$custom: #339b26;
$custom-light: #79b969;
$custom-dark: #000000;
JSON
{
  "hex": "#339b26",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 38
  },
  "hsl": {
    "h": 113.333,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.1794,
    "h": 141.6
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#339B26
secondary
#B45FBE
accent
#44E4D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B26

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

Preview Lab → · Contrast checker → · Palette generator →

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