#337B26#337B26

#337B26 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.140 H 140.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337B26
RGBrgb(51, 123, 38)
HSLhsl(111, 53%, 32%)
HSVhsv(111, 69%, 48%)
CMYKcmyk(58.5%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.65, -39.54, 38.35)
CIE-LCHlch(45.65, 55.09, 135.87°)
OKLaboklab(51.83% -0.1082 0.0883)
OKLCHoklch(51.83% 0.14 140.8)
XYZxyz(8.7976, 15.0089, 4.2667)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B26 #6E267B
analogous
#5E7B26 #337B26 #267B44
triadic
#337B26 #26337B #7B2633
tetradic
#337B26 #265E7B #6E267B #7B4426
square
#337B26 #265E7B #6E267B #7B4426
split-complementary
#337B26 #44267B #7B265E
monochromatic
#0C1D09 #204C18 #337B26 #46AA34 #64CA52

Accessibility & contrast

On white

5.25
#337B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B26
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B26#FFFFFF#000000##FFFFFF
##337B261.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#2A776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b26;
/* rgb */ color: rgb(51, 123, 38);
/* oklch */ color: oklch(51.8% 0.140 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a265',
    500: '#337b26',
    950: '#000000',
  },
}
SCSS
$custom: #337b26;
$custom-light: #73a265;
$custom-dark: #000000;
JSON
{
  "hex": "#337b26",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 110.824,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.13963,
    "h": 140.8
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337B26

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

Preview Lab → · Contrast checker → · Palette generator →

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