#337915#337915

#337915 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.148 H 138.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337915
RGBrgb(51, 121, 21)
HSLhsl(102, 70%, 28%)
HSVhsv(102, 83%, 47%)
CMYKcmyk(57.9%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.85, -40.10, 44.13)
CIE-LCHlch(44.85, 59.63, 132.26°)
OKLaboklab(51.13% -0.1108 0.0979)
OKLCHoklch(51.13% 0.148 138.5)
XYZxyz(8.3377, 14.4320, 3.0556)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337915 #5B1579
analogous
#657915 #337915 #157929
triadic
#337915 #153379 #791533
tetradic
#337915 #156579 #5B1579 #792915
square
#337915 #156579 #5B1579 #792915
split-complementary
#337915 #291579 #791565
monochromatic
#0B1A05 #1D450C #337915 #49AD1E #62DB2E

Accessibility & contrast

On white

5.40
#337915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337915
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337915#FFFFFF#000000##FFFFFF
##3379151.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337915;
/* rgb */ color: rgb(51, 121, 21);
/* oklch */ color: oklch(51.1% 0.148 138.5);
Tailwind
colors: {
  custom: {
    50: '#73a05c',
    500: '#337915',
    950: '#000000',
  },
}
SCSS
$custom: #337915;
$custom-light: #73a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#337915",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.14785,
    "h": 138.5
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#337915
secondary
#8C3BAF
accent
#3BEDB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337915

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

Preview Lab → · Contrast checker → · Palette generator →

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