#337B25#337B25

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

Color values

HEX#337B25
RGBrgb(51, 123, 37)
HSLhsl(110, 54%, 31%)
HSVhsv(110, 70%, 48%)
CMYKcmyk(58.5%, 0%, 69.9%, 51.8%)
CIE-LABlab(45.64, -39.64, 38.79)
CIE-LCHlch(45.64, 55.46, 135.62°)
OKLaboklab(51.82% -0.1085 0.0891)
OKLCHoklch(51.82% 0.14 140.6)
XYZxyz(8.7817, 15.0025, 4.1829)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B25 #6D257B
analogous
#5E7B25 #337B25 #257B42
triadic
#337B25 #25337B #7B2533
tetradic
#337B25 #255E7B #6D257B #7B4225
square
#337B25 #255E7B #6D257B #7B4225
split-complementary
#337B25 #42257B #7B255E
monochromatic
#0C1D09 #1F4C17 #337B25 #47AA33 #64CA50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B25#FFFFFF#000000##FFFFFF
##337B251.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)
#7E7019
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#2A776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b25;
/* rgb */ color: rgb(51, 123, 37);
/* oklch */ color: oklch(51.8% 0.140 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a264',
    500: '#337b25',
    950: '#000000',
  },
}
SCSS
$custom: #337b25;
$custom-light: #73a264;
$custom-dark: #000000;
JSON
{
  "hex": "#337b25",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 110.233,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.14038,
    "h": 140.6
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#337B25
secondary
#9E4FAD
accent
#4BDDC5
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337B25

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

Preview Lab → · Contrast checker → · Palette generator →

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