#339826#339826

#339826 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.176 H 141.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#339826
RGBrgb(51, 152, 38)
HSLhsl(113, 60%, 37%)
HSVhsv(113, 75%, 60%)
CMYKcmyk(66.4%, 0%, 75%, 40.4%)
CIE-LABlab(55.38, -50.43, 48.48)
CIE-LCHlch(55.38, 69.95, 136.13°)
OKLaboklab(59.87% -0.1376 0.1095)
OKLCHoklch(59.87% 0.176 141.5)
XYZxyz(12.9426, 23.2989, 5.6484)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339826 #8B2698
analogous
#6C9826 #339826 #269852
triadic
#339826 #263398 #982633
tetradic
#339826 #266C98 #8B2698 #985226
square
#339826 #266C98 #8B2698 #985226
split-complementary
#339826 #522698 #98266C
monochromatic
#12360E #23671A #339826 #43C932 #6ED761

Accessibility & contrast

On white

3.71
#339826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#339826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339826
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339826#FFFFFF#000000##000000
##3398261.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#908132
Tritanopia (blue-blind)
#1F9382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339826;
/* rgb */ color: rgb(51, 152, 38);
/* oklch */ color: oklch(59.9% 0.176 141.5);
Tailwind
colors: {
  custom: {
    50: '#79b768',
    500: '#339826',
    950: '#000000',
  },
}
SCSS
$custom: #339826;
$custom-light: #79b768;
$custom-dark: #000000;
JSON
{
  "hex": "#339826",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 113.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.17588,
    "h": 141.5
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

primary
#339826
secondary
#B25DBD
accent
#45E3D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339826

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

Preview Lab → · Contrast checker → · Palette generator →

#339826 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva