#337B24#337B24

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

Color values

HEX#337B24
RGBrgb(51, 123, 36)
HSLhsl(110, 55%, 31%)
HSVhsv(110, 71%, 48%)
CMYKcmyk(58.5%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.63, -39.74, 39.21)
CIE-LCHlch(45.63, 55.83, 135.38°)
OKLaboklab(51.81% -0.1088 0.0898)
OKLCHoklch(51.81% 0.141 140.5)
XYZxyz(8.7662, 14.9964, 4.1014)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B24 #6C247B
analogous
#5E7B24 #337B24 #247B40
triadic
#337B24 #24337B #7B2433
tetradic
#337B24 #245E7B #6C247B #7B4024
square
#337B24 #245E7B #6C247B #7B4024
split-complementary
#337B24 #40247B #7B245E
monochromatic
#0C1C08 #1F4C16 #337B24 #47AA32 #64CB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B24#FFFFFF#000000##FFFFFF
##337B241.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)
#7E7018
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#2A7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b24;
/* rgb */ color: rgb(51, 123, 36);
/* oklch */ color: oklch(51.8% 0.141 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a264',
    500: '#337b24',
    950: '#000000',
  },
}
SCSS
$custom: #337b24;
$custom-light: #73a264;
$custom-dark: #000000;
JSON
{
  "hex": "#337b24",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 109.655,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.14112,
    "h": 140.5
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#337B24
secondary
#9D4DAD
accent
#4ADEC4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337B24

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

Preview Lab → · Contrast checker → · Palette generator →

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