#337F18#337F18

#337F18 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.154 H 139.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#337F18
RGBrgb(51, 127, 24)
HSLhsl(104, 68%, 30%)
HSVhsv(104, 81%, 50%)
CMYKcmyk(59.8%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.91, -42.25, 45.10)
CIE-LCHlch(46.91, 61.80, 133.13°)
OKLaboklab(52.84% -0.1164 0.1004)
OKLCHoklch(52.84% 0.154 139.2)
XYZxyz(9.1191, 15.9477, 3.4616)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F18 #64187F
analogous
#677F18 #337F18 #187F31
triadic
#337F18 #18337F #7F1833
tetradic
#337F18 #18677F #64187F #7F3118
square
#337F18 #18677F #64187F #7F3118
split-complementary
#337F18 #31187F #7F1867
monochromatic
#0A1A05 #1E4C0E #337F18 #48B222 #62D938

Accessibility & contrast

On white

5.01
#337F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F18#FFFFFF#000000##FFFFFF
##337F181.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#2A7A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f18;
/* rgb */ color: rgb(51, 127, 24);
/* oklch */ color: oklch(52.8% 0.154 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a55e',
    500: '#337f18',
    950: '#000000',
  },
}
SCSS
$custom: #337f18;
$custom-light: #74a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#337f18",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 104.272,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.15369,
    "h": 139.2
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#337F18
secondary
#953FB3
accent
#3DEBBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F18

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

Preview Lab → · Contrast checker → · Palette generator →

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