#337515#337515

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

Color values

HEX#337515
RGBrgb(51, 117, 21)
HSLhsl(101, 70%, 27%)
HSVhsv(101, 82%, 46%)
CMYKcmyk(56.4%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.48, -38.52, 42.84)
CIE-LCHlch(43.48, 57.61, 131.96°)
OKLaboklab(50% -0.1065 0.0952)
OKLCHoklch(50% 0.143 138.2)
XYZxyz(7.8616, 13.4799, 2.8969)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337515 #571575
analogous
#637515 #337515 #157527
triadic
#337515 #153375 #751533
tetradic
#337515 #156375 #571575 #752715
square
#337515 #156375 #571575 #752715
split-complementary
#337515 #271575 #751563
monochromatic
#0B1A05 #1C410C #337515 #4AA91E #62D92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337515#FFFFFF#000000##FFFFFF
##3375151.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)
#796A00
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#2D7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337515;
/* rgb */ color: rgb(51, 117, 21);
/* oklch */ color: oklch(50.0% 0.143 138.2);
Tailwind
colors: {
  custom: {
    50: '#739d5b',
    500: '#337515',
    950: '#000000',
  },
}
SCSS
$custom: #337515;
$custom-light: #739d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337515",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 101.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.14286,
    "h": 138.2
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#337515
secondary
#883BAB
accent
#3BECB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337515

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

Preview Lab → · Contrast checker → · Palette generator →

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