#337B30#337B30

#337B30 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.131 H 142.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#337B30
RGBrgb(51, 123, 48)
HSLhsl(118, 44%, 34%)
HSVhsv(118, 61%, 48%)
CMYKcmyk(58.5%, 0%, 61%, 51.8%)
CIE-LABlab(45.75, -38.41, 33.74)
CIE-LCHlch(45.75, 51.13, 138.70°)
OKLaboklab(51.94% -0.1045 0.0795)
OKLCHoklch(51.94% 0.131 142.7)
XYZxyz(8.9812, 15.0823, 5.2336)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B30 #78307B
analogous
#587B30 #337B30 #307B52
triadic
#337B30 #30337B #7B3033
tetradic
#337B30 #30587B #78307B #7B5230
square
#337B30 #30587B #78307B #7B5230
split-complementary
#337B30 #52307B #7B3058
monochromatic
#0E230E #214F1F #337B30 #45A741 #67C263

Accessibility & contrast

On white

5.23
#337B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#337B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B30
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B30#FFFFFF#000000##FFFFFF
##337B301.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#28776B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b30;
/* rgb */ color: rgb(51, 123, 48);
/* oklch */ color: oklch(51.9% 0.131 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a26b',
    500: '#337b30',
    950: '#000000',
  },
}
SCSS
$custom: #337b30;
$custom-light: #72a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#337b30",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 48
  },
  "hsl": {
    "h": 117.6,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.13135,
    "h": 142.7
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#337B30
secondary
#A65DA9
accent
#54D4CF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337B30

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

Preview Lab → · Contrast checker → · Palette generator →

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