#337518#337518

#337518 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.141 H 138.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#337518
RGBrgb(51, 117, 24)
HSLhsl(103, 66%, 28%)
HSVhsv(103, 79%, 46%)
CMYKcmyk(56.4%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.49, -38.32, 41.82)
CIE-LCHlch(43.49, 56.72, 132.50°)
OKLaboklab(50.02% -0.1058 0.0935)
OKLCHoklch(50.02% 0.141 138.5)
XYZxyz(7.8911, 13.4917, 3.0523)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337518 #5A1875
analogous
#617518 #337518 #18752C
triadic
#337518 #183375 #751833
tetradic
#337518 #186175 #5A1875 #752C18
square
#337518 #186175 #5A1875 #752C18
split-complementary
#337518 #2C1875 #751861
monochromatic
#0B1905 #1D420E #337518 #49A822 #62D532

Accessibility & contrast

On white

5.68
#337518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#337518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337518
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337518#FFFFFF#000000##FFFFFF
##3375181.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#2D7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337518;
/* rgb */ color: rgb(51, 117, 24);
/* oklch */ color: oklch(50.0% 0.141 138.5);
Tailwind
colors: {
  custom: {
    50: '#739d5d',
    500: '#337518',
    950: '#000000',
  },
}
SCSS
$custom: #337518;
$custom-light: #739d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#337518",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 102.581,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.14123,
    "h": 138.5
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#337518
secondary
#8B3FAA
accent
#3FE9B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337518

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

Preview Lab → · Contrast checker → · Palette generator →

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