#337236#337236

#337236 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.113 H 144.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#337236
RGBrgb(51, 114, 54)
HSLhsl(123, 38%, 32%)
HSVhsv(123, 55%, 45%)
CMYKcmyk(55.3%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.77, -33.76, 27.06)
CIE-LCHlch(42.77, 43.26, 141.28°)
OKLaboklab(49.52% -0.0917 0.0653)
OKLCHoklch(49.52% 0.113 144.5)
XYZxyz(8.0480, 13.0041, 5.5753)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337236 #72336F
analogous
#507233 #337236 #337256
triadic
#337236 #363372 #723633
tetradic
#337236 #335072 #72336F #725633
square
#337236 #335072 #72336F #725633
split-complementary
#337236 #563372 #723350
monochromatic
#0D1D0E #204822 #337236 #469C4A #65BA69

Accessibility & contrast

On white

5.83
#337236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#337236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337236
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337236#FFFFFF#000000##FFFFFF
##3372361.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746831
Deuteranopia (green-blind)
#6C633A
Tritanopia (blue-blind)
#296F64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337236;
/* rgb */ color: rgb(51, 114, 54);
/* oklch */ color: oklch(49.5% 0.113 144.5);
Tailwind
colors: {
  custom: {
    50: '#719b6e',
    500: '#337236',
    950: '#000000',
  },
}
SCSS
$custom: #337236;
$custom-light: #719b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#337236",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 122.857,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.11256,
    "h": 144.5
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#337236
secondary
#A25F9F
accent
#5AC9CE
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337236

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

Preview Lab → · Contrast checker → · Palette generator →

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