#337526#337526

#337526 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.132 H 140.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#337526
RGBrgb(51, 117, 38)
HSLhsl(110, 51%, 30%)
HSVhsv(110, 68%, 46%)
CMYKcmyk(56.4%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.60, -37.10, 36.13)
CIE-LCHlch(43.60, 51.79, 135.75°)
OKLaboklab(50.14% -0.1016 0.0836)
OKLCHoklch(50.14% 0.132 140.5)
XYZxyz(8.0760, 13.5657, 4.0262)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337526 #682675
analogous
#5A7526 #337526 #267541
triadic
#337526 #263375 #752633
tetradic
#337526 #265A75 #682675 #754126
square
#337526 #265A75 #682675 #754126
split-complementary
#337526 #412675 #75265A
monochromatic
#0B1908 #1F4717 #337526 #47A335 #63C64F

Accessibility & contrast

On white

5.66
#337526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#337526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337526
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337526#FFFFFF#000000##FFFFFF
##3375261.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#2B7165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337526;
/* rgb */ color: rgb(51, 117, 38);
/* oklch */ color: oklch(50.1% 0.132 140.5);
Tailwind
colors: {
  custom: {
    50: '#729d64',
    500: '#337526',
    950: '#000000',
  },
}
SCSS
$custom: #337526;
$custom-light: #729d64;
$custom-dark: #000000;
JSON
{
  "hex": "#337526",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 110.127,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.13154,
    "h": 140.5
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#337526
secondary
#994FA7
accent
#4DDAC3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337526

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

Preview Lab → · Contrast checker → · Palette generator →

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