#337138#337138

#337138 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.109 H 145.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337138
RGBrgb(51, 113, 56)
HSLhsl(125, 38%, 32%)
HSVhsv(125, 55%, 44%)
CMYKcmyk(54.9%, 0%, 50.4%, 55.7%)
CIE-LABlab(42.46, -33.00, 25.58)
CIE-LCHlch(42.46, 41.76, 142.22°)
OKLaboklab(49.27% -0.0896 0.0621)
OKLCHoklch(49.27% 0.109 145.3)
XYZxyz(7.9837, 12.7989, 5.7903)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337138 #71336C
analogous
#4D7133 #337138 #337157
triadic
#337138 #383371 #713833
tetradic
#337138 #334D71 #71336C #715733
square
#337138 #334D71 #71336C #715733
split-complementary
#337138 #573371 #71334D
monochromatic
#0D1D0E #204723 #337138 #469B4D #65B96C

Accessibility & contrast

On white

5.90
#337138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337138
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337138#FFFFFF#000000##FFFFFF
##3371381.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#296E64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337138;
/* rgb */ color: rgb(51, 113, 56);
/* oklch */ color: oklch(49.3% 0.109 145.3);
Tailwind
colors: {
  custom: {
    50: '#709a70',
    500: '#337138',
    950: '#000000',
  },
}
SCSS
$custom: #337138;
$custom-light: #709a70;
$custom-dark: #000000;
JSON
{
  "hex": "#337138",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 124.839,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.10901,
    "h": 145.3
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#337138
secondary
#A25E9C
accent
#5AC4CE
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337138

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

Preview Lab → · Contrast checker → · Palette generator →

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