#337935#337935

#337935 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.124 H 144.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#337935
RGBrgb(51, 121, 53)
HSLhsl(122, 41%, 34%)
HSVhsv(122, 58%, 47%)
CMYKcmyk(57.9%, 0%, 56.2%, 52.5%)
CIE-LABlab(45.13, -36.91, 30.46)
CIE-LCHlch(45.13, 47.86, 140.47°)
OKLaboklab(51.45% -0.1002 0.0728)
OKLCHoklch(51.45% 0.124 144)
XYZxyz(8.8447, 14.6348, 5.7262)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337935 #793377
analogous
#547933 #337935 #337958
triadic
#337935 #353379 #793533
tetradic
#337935 #335479 #793377 #795833
square
#337935 #335479 #793377 #795833
split-complementary
#337935 #583379 #793354
monochromatic
#0F230F #214E22 #337935 #45A448 #67BF6A

Accessibility & contrast

On white

5.35
#337935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#337935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337935
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337935#FFFFFF#000000##FFFFFF
##3379351.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F2F
Deuteranopia (green-blind)
#72683A
Tritanopia (blue-blind)
#27766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337935;
/* rgb */ color: rgb(51, 121, 53);
/* oklch */ color: oklch(51.5% 0.124 144.0);
Tailwind
colors: {
  custom: {
    50: '#72a06e',
    500: '#337935',
    950: '#000000',
  },
}
SCSS
$custom: #337935;
$custom-light: #72a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#337935",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 121.714,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.12389,
    "h": 144
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#337935
secondary
#A761A5
accent
#57CDD1
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #337935

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

Preview Lab → · Contrast checker → · Palette generator →

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