#337F25#337F25

#337F25 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.146 H 140.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#337F25
RGBrgb(51, 127, 37)
HSLhsl(111, 55%, 32%)
HSVhsv(111, 71%, 50%)
CMYKcmyk(59.8%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.99, -41.23, 40.23)
CIE-LCHlch(46.99, 57.60, 135.70°)
OKLaboklab(52.94% -0.1128 0.0921)
OKLCHoklch(52.94% 0.146 140.8)
XYZxyz(9.2881, 16.0153, 4.3517)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F25 #71257F
analogous
#607F25 #337F25 #257F44
triadic
#337F25 #25337F #7F2533
tetradic
#337F25 #25607F #71257F #7F4425
square
#337F25 #25607F #71257F #7F4425
split-complementary
#337F25 #44257F #7F2560
monochromatic
#0D2009 #205017 #337F25 #46AE33 #65CD52

Accessibility & contrast

On white

5.00
#337F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#337F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F25
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F25#FFFFFF#000000##FFFFFF
##337F251.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#297B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f25;
/* rgb */ color: rgb(51, 127, 37);
/* oklch */ color: oklch(52.9% 0.146 140.8);
Tailwind
colors: {
  custom: {
    50: '#74a565',
    500: '#337f25',
    950: '#000000',
  },
}
SCSS
$custom: #337f25;
$custom-light: #74a565;
$custom-dark: #000000;
JSON
{
  "hex": "#337f25",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 110.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.14563,
    "h": 140.8
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#337F25
secondary
#A24FB1
accent
#4ADEC7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F25

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

Preview Lab → · Contrast checker → · Palette generator →

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