#337C18#337C18

#337C18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.150 H 139.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#337C18
RGBrgb(51, 124, 24)
HSLhsl(104, 68%, 29%)
HSVhsv(104, 81%, 49%)
CMYKcmyk(58.9%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.89, -41.09, 44.13)
CIE-LCHlch(45.89, 60.30, 132.96°)
OKLaboklab(51.99% -0.1132 0.0984)
OKLCHoklch(51.99% 0.15 139)
XYZxyz(8.7374, 15.1843, 3.3344)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C18 #61187C
analogous
#657C18 #337C18 #187C2F
triadic
#337C18 #18337C #7C1833
tetradic
#337C18 #18657C #61187C #7C2F18
square
#337C18 #18657C #61187C #7C2F18
split-complementary
#337C18 #2F187C #7C1865
monochromatic
#0B1A05 #1E490E #337C18 #48AF22 #62D836

Accessibility & contrast

On white

5.20
#337C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C18
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C18#FFFFFF#000000##FFFFFF
##337C181.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#2B7869
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c18;
/* rgb */ color: rgb(51, 124, 24);
/* oklch */ color: oklch(52.0% 0.150 139.0);
Tailwind
colors: {
  custom: {
    50: '#74a35e',
    500: '#337c18',
    950: '#000000',
  },
}
SCSS
$custom: #337c18;
$custom-light: #74a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#337c18",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 103.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.15,
    "h": 139
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#337C18
secondary
#923FB1
accent
#3DEABC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C18

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

Preview Lab → · Contrast checker → · Palette generator →

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