#337313#337313

#337313 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.141 H 137.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#337313
RGBrgb(51, 115, 19)
HSLhsl(100, 72%, 26%)
HSVhsv(100, 83%, 45%)
CMYKcmyk(55.7%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.78, -37.83, 42.84)
CIE-LCHlch(42.78, 57.15, 131.45°)
OKLaboklab(49.42% -0.1048 0.0949)
OKLCHoklch(49.42% 0.141 137.8)
XYZxyz(7.6133, 13.0117, 2.7263)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337313 #531373
analogous
#637313 #337313 #137323
triadic
#337313 #133373 #731333
tetradic
#337313 #136373 #531373 #732313
square
#337313 #136373 #531373 #732313
split-complementary
#337313 #231373 #731363
monochromatic
#0C1A04 #1C3E0A #337313 #4AA81C #62DB25

Accessibility & contrast

On white

5.83
#337313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#337313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337313
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337313#FFFFFF#000000##FFFFFF
##3373131.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#2E6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337313;
/* rgb */ color: rgb(51, 115, 19);
/* oklch */ color: oklch(49.4% 0.141 137.8);
Tailwind
colors: {
  custom: {
    50: '#739c5a',
    500: '#337313',
    950: '#000000',
  },
}
SCSS
$custom: #337313;
$custom-light: #739c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337313",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 100,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.14137,
    "h": 137.8
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#337313
secondary
#8438AA
accent
#39EEB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337313

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

Preview Lab → · Contrast checker → · Palette generator →

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