#337018#337018

#337018 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.135 H 138.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#337018
RGBrgb(51, 112, 24)
HSLhsl(102, 65%, 27%)
HSVhsv(102, 79%, 44%)
CMYKcmyk(54.5%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.78, -36.28, 40.14)
CIE-LCHlch(41.78, 54.11, 132.10°)
OKLaboklab(48.61% -0.1003 0.0901)
OKLCHoklch(48.61% 0.135 138.1)
XYZxyz(7.3240, 12.3575, 2.8633)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337018 #551870
analogous
#5F7018 #337018 #187029
triadic
#337018 #183370 #701833
tetradic
#337018 #185F70 #551870 #702918
square
#337018 #185F70 #551870 #702918
split-complementary
#337018 #291870 #70185F
monochromatic
#0B1905 #1C3E0D #337018 #4AA223 #62D330

Accessibility & contrast

On white

6.05
#337018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#337018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337018
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337018#FFFFFF#000000##FFFFFF
##3370181.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#2E6C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337018;
/* rgb */ color: rgb(51, 112, 24);
/* oklch */ color: oklch(48.6% 0.135 138.1);
Tailwind
colors: {
  custom: {
    50: '#729a5c',
    500: '#337018',
    950: '#000000',
  },
}
SCSS
$custom: #337018;
$custom-light: #729a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337018",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 101.591,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.13479,
    "h": 138.1
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#337018
secondary
#863EA5
accent
#40E8B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337018

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

Preview Lab → · Contrast checker → · Palette generator →

#337018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva