#339A26#339A26

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

Color values

HEX#339A26
RGBrgb(51, 154, 38)
HSLhsl(113, 60%, 38%)
HSVhsv(113, 75%, 60%)
CMYKcmyk(66.9%, 0%, 75.3%, 39.6%)
CIE-LABlab(56.04, -51.14, 49.14)
CIE-LCHlch(56.04, 70.92, 136.14°)
OKLaboklab(60.42% -0.1395 0.1109)
OKLCHoklch(60.42% 0.178 141.5)
XYZxyz(13.2700, 23.9536, 5.7575)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A26 #8D269A
analogous
#6D9A26 #339A26 #269A53
triadic
#339A26 #26339A #9A2633
tetradic
#339A26 #266D9A #8D269A #9A5326
square
#339A26 #266D9A #8D269A #9A5326
split-complementary
#339A26 #53269A #9A266D
monochromatic
#12380E #23691A #339A26 #43CB32 #6FD862

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339A26#FFFFFF#000000##000000
##339A261.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)
#9E8B0F
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#1E9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a26;
/* rgb */ color: rgb(51, 154, 38);
/* oklch */ color: oklch(60.4% 0.178 141.5);
Tailwind
colors: {
  custom: {
    50: '#79b968',
    500: '#339a26',
    950: '#000000',
  },
}
SCSS
$custom: #339a26;
$custom-light: #79b968;
$custom-dark: #000000;
JSON
{
  "hex": "#339a26",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 113.276,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.17822,
    "h": 141.5
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#339A26
secondary
#B35EBE
accent
#44E4D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A26

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

Preview Lab → · Contrast checker → · Palette generator →

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