#337846#337846

#337846 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.105 H 150.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#337846
RGBrgb(51, 120, 70)
HSLhsl(137, 40%, 34%)
HSVhsv(137, 58%, 47%)
CMYKcmyk(57.5%, 0%, 41.7%, 52.9%)
CIE-LABlab(45.05, -33.69, 21.07)
CIE-LCHlch(45.05, 39.73, 147.98°)
OKLaboklab(51.47% -0.0913 0.0523)
OKLCHoklch(51.47% 0.105 150.2)
XYZxyz(9.1866, 14.5781, 8.1229)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337846 #783365
analogous
#427833 #337846 #337868
triadic
#337846 #463378 #784633
tetradic
#337846 #334278 #783365 #786833
square
#337846 #334278 #783365 #786833
split-complementary
#337846 #683378 #783342
monochromatic
#0E2214 #214D2D #337846 #45A35F #67BE7F

Accessibility & contrast

On white

5.36
#337846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#337846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337846
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337846#FFFFFF#000000##FFFFFF
##3378461.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#22766C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337846;
/* rgb */ color: rgb(51, 120, 70);
/* oklch */ color: oklch(51.5% 0.105 150.2);
Tailwind
colors: {
  custom: {
    50: '#719f7a',
    500: '#337846',
    950: '#000000',
  },
}
SCSS
$custom: #337846;
$custom-light: #719f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#337846",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 136.522,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.1052,
    "h": 150.2
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#337846
secondary
#A66093
accent
#58AFD0
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337846

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

Preview Lab → · Contrast checker → · Palette generator →

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