#337E18#337E18

#337E18 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.152 H 139.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337E18
RGBrgb(51, 126, 24)
HSLhsl(104, 68%, 29%)
HSVhsv(104, 81%, 49%)
CMYKcmyk(59.5%, 0%, 81%, 50.6%)
CIE-LABlab(46.57, -41.86, 44.78)
CIE-LCHlch(46.57, 61.30, 133.07°)
OKLaboklab(52.55% -0.1153 0.0997)
OKLCHoklch(52.55% 0.152 139.2)
XYZxyz(8.9906, 15.6907, 3.4188)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E18 #63187E
analogous
#667E18 #337E18 #187E30
triadic
#337E18 #18337E #7E1833
tetradic
#337E18 #18667E #63187E #7E3018
square
#337E18 #18667E #63187E #7E3018
split-complementary
#337E18 #30187E #7E1866
monochromatic
#0A1A05 #1E4B0E #337E18 #48B122 #62D937

Accessibility & contrast

On white

5.07
#337E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E18#FFFFFF#000000##FFFFFF
##337E181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#2B7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e18;
/* rgb */ color: rgb(51, 126, 24);
/* oklch */ color: oklch(52.6% 0.152 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a45e',
    500: '#337e18',
    950: '#000000',
  },
}
SCSS
$custom: #337e18;
$custom-light: #74a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#337e18",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 104.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.15246,
    "h": 139.2
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#337E18
secondary
#943FB2
accent
#3DEBBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E18

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

Preview Lab → · Contrast checker → · Palette generator →

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