#337830#337830

#337830 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.1% C 0.127 H 142.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#337830
RGBrgb(51, 120, 48)
HSLhsl(118, 43%, 33%)
HSVhsv(118, 60%, 47%)
CMYKcmyk(57.5%, 0%, 60%, 52.9%)
CIE-LABlab(44.73, -37.17, 32.56)
CIE-LCHlch(44.73, 49.41, 138.78°)
OKLaboklab(51.11% -0.1012 0.077)
OKLCHoklch(51.11% 0.127 142.7)
XYZxyz(8.6148, 14.3494, 5.1115)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337830 #753078
analogous
#577830 #337830 #307851
triadic
#337830 #303378 #783033
tetradic
#337830 #305778 #753078 #785130
square
#337830 #305778 #753078 #785130
split-complementary
#337830 #513078 #783057
monochromatic
#0E210D #204C1F #337830 #46A441 #66C062

Accessibility & contrast

On white

5.43
#337830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#337830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337830
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337830#FFFFFF#000000##FFFFFF
##3378301.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D29
Deuteranopia (green-blind)
#726736
Tritanopia (blue-blind)
#297568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337830;
/* rgb */ color: rgb(51, 120, 48);
/* oklch */ color: oklch(51.1% 0.127 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a06b',
    500: '#337830',
    950: '#000000',
  },
}
SCSS
$custom: #337830;
$custom-light: #72a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#337830",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 117.5,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.12712,
    "h": 142.7
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#337830
secondary
#A45CA7
accent
#55D3CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #337830

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

Preview Lab → · Contrast checker → · Palette generator →

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