#337D18#337D18

#337D18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.151 H 139.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337D18
RGBrgb(51, 125, 24)
HSLhsl(104, 68%, 29%)
HSVhsv(104, 81%, 49%)
CMYKcmyk(59.2%, 0%, 80.8%, 51%)
CIE-LABlab(46.23, -41.48, 44.45)
CIE-LCHlch(46.23, 60.80, 133.02°)
OKLaboklab(52.27% -0.1143 0.099)
OKLCHoklch(52.27% 0.151 139.1)
XYZxyz(8.8634, 15.4362, 3.3764)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D18 #62187D
analogous
#667D18 #337D18 #187D2F
triadic
#337D18 #18337D #7D1833
tetradic
#337D18 #18667D #62187D #7D2F18
square
#337D18 #18667D #62187D #7D2F18
split-complementary
#337D18 #2F187D #7D1866
monochromatic
#0A1A05 #1E4A0E #337D18 #48B022 #62D937

Accessibility & contrast

On white

5.14
#337D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D18
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D18#FFFFFF#000000##FFFFFF
##337D181.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337d18;
/* rgb */ color: rgb(51, 125, 24);
/* oklch */ color: oklch(52.3% 0.151 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a35e',
    500: '#337d18',
    950: '#000000',
  },
}
SCSS
$custom: #337d18;
$custom-light: #74a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#337d18",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 103.96,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.15123,
    "h": 139.1
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#337D18
secondary
#933FB2
accent
#3DEBBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D18

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

Preview Lab → · Contrast checker → · Palette generator →

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