#337D25#337D25

#337D25 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.143 H 140.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337D25
RGBrgb(51, 125, 37)
HSLhsl(110, 54%, 32%)
HSVhsv(110, 70%, 49%)
CMYKcmyk(59.2%, 0%, 70.4%, 51%)
CIE-LABlab(46.32, -40.44, 39.51)
CIE-LCHlch(46.32, 56.54, 135.66°)
OKLaboklab(52.38% -0.1107 0.0906)
OKLCHoklch(52.38% 0.143 140.7)
XYZxyz(9.0324, 15.5038, 4.2665)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D25 #6F257D
analogous
#5F7D25 #337D25 #257D43
triadic
#337D25 #25337D #7D2533
tetradic
#337D25 #255F7D #6F257D #7D4325
square
#337D25 #255F7D #6F257D #7D4325
split-complementary
#337D25 #43257D #7D255F
monochromatic
#0C1F09 #204E17 #337D25 #46AC33 #64CB51

Accessibility & contrast

On white

5.12
#337D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D25
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D25#FFFFFF#000000##FFFFFF
##337D251.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807219
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#29796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d25;
/* rgb */ color: rgb(51, 125, 37);
/* oklch */ color: oklch(52.4% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a364',
    500: '#337d25',
    950: '#000000',
  },
}
SCSS
$custom: #337d25;
$custom-light: #73a364;
$custom-dark: #000000;
JSON
{
  "hex": "#337d25",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 110.455,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.14302,
    "h": 140.7
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#337D25
secondary
#A04FAF
accent
#4ADEC6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337D25

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

Preview Lab → · Contrast checker → · Palette generator →

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