#337A26#337A26

#337A26 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.138 H 140.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337A26
RGBrgb(51, 122, 38)
HSLhsl(111, 53%, 31%)
HSVhsv(111, 69%, 48%)
CMYKcmyk(58.2%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.31, -39.14, 37.99)
CIE-LCHlch(45.31, 54.54, 135.86°)
OKLaboklab(51.55% -0.1071 0.0875)
OKLCHoklch(51.55% 0.138 140.8)
XYZxyz(8.6742, 14.7621, 4.2256)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A26 #6D267A
analogous
#5D7A26 #337A26 #267A43
triadic
#337A26 #26337A #7A2633
tetradic
#337A26 #265D7A #6D267A #7A4326
square
#337A26 #265D7A #6D267A #7A4326
split-complementary
#337A26 #43267A #7A265D
monochromatic
#0C1D09 #1F4B17 #337A26 #47A935 #64C951

Accessibility & contrast

On white

5.31
#337A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#337A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A26
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A26#FFFFFF#000000##FFFFFF
##337A261.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#2A7669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a26;
/* rgb */ color: rgb(51, 122, 38);
/* oklch */ color: oklch(51.5% 0.138 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a165',
    500: '#337a26',
    950: '#000000',
  },
}
SCSS
$custom: #337a26;
$custom-light: #73a165;
$custom-dark: #000000;
JSON
{
  "hex": "#337a26",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 110.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.1383,
    "h": 140.8
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#337A26
secondary
#9E50AC
accent
#4CDCC6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337A26

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

Preview Lab → · Contrast checker → · Palette generator →

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