#339D26#339D26

#339D26 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.2% C 0.182 H 141.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#339D26
RGBrgb(51, 157, 38)
HSLhsl(113, 61%, 38%)
HSVhsv(113, 76%, 62%)
CMYKcmyk(67.5%, 0%, 75.8%, 38.4%)
CIE-LABlab(57.03, -52.18, 50.13)
CIE-LCHlch(57.03, 72.36, 136.15°)
OKLaboklab(61.24% -0.1424 0.1129)
OKLCHoklch(61.24% 0.182 141.6)
XYZxyz(13.7713, 24.9563, 5.9246)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D26 #90269D
analogous
#6E9D26 #339D26 #269D54
triadic
#339D26 #26339D #9D2633
tetradic
#339D26 #266E9D #90269D #9D5426
square
#339D26 #266E9D #90269D #9D5426
split-complementary
#339D26 #54269D #9D266E
monochromatic
#133A0E #236C1A #339D26 #44CE33 #71D964

Accessibility & contrast

On white

3.50
#339D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#339D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D26
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D26#FFFFFF#000000##000000
##339D261.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0D
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#1D9886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d26;
/* rgb */ color: rgb(51, 157, 38);
/* oklch */ color: oklch(61.2% 0.182 141.6);
Tailwind
colors: {
  custom: {
    50: '#7abb69',
    500: '#339d26',
    950: '#000000',
  },
}
SCSS
$custom: #339d26;
$custom-light: #7abb69;
$custom-dark: #000000;
JSON
{
  "hex": "#339d26",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 113.445,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.18173,
    "h": 141.6
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#339D26
secondary
#B560BF
accent
#44E4D3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D26

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

Preview Lab → · Contrast checker → · Palette generator →

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