#337F24#337F24

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

Color values

HEX#337F24
RGBrgb(51, 127, 36)
HSLhsl(110, 56%, 32%)
HSVhsv(110, 72%, 50%)
CMYKcmyk(59.8%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.99, -41.32, 40.65)
CIE-LCHlch(46.99, 57.96, 135.47°)
OKLaboklab(52.93% -0.1131 0.0928)
OKLCHoklch(52.93% 0.146 140.6)
XYZxyz(9.2726, 16.0091, 4.2701)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F24 #70247F
analogous
#617F24 #337F24 #247F43
triadic
#337F24 #24337F #7F2433
tetradic
#337F24 #24617F #70247F #7F4324
square
#337F24 #24617F #70247F #7F4324
split-complementary
#337F24 #43247F #7F2461
monochromatic
#0D2009 #204F16 #337F24 #46AF32 #65CD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F24#FFFFFF#000000##FFFFFF
##337F241.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)
#827316
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#297B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f24;
/* rgb */ color: rgb(51, 127, 36);
/* oklch */ color: oklch(52.9% 0.146 140.6);
Tailwind
colors: {
  custom: {
    50: '#74a564',
    500: '#337f24',
    950: '#000000',
  },
}
SCSS
$custom: #337f24;
$custom-light: #74a564;
$custom-dark: #000000;
JSON
{
  "hex": "#337f24",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 110.11,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.14634,
    "h": 140.6
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#337F24
secondary
#A14EB1
accent
#49DFC6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F24

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

Preview Lab → · Contrast checker → · Palette generator →

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