#336722#336722

#336722 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.115 H 138.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#336722
RGBrgb(51, 103, 34)
HSLhsl(105, 50%, 27%)
HSVhsv(105, 67%, 40%)
CMYKcmyk(50.5%, 0%, 67%, 59.6%)
CIE-LABlab(38.76, -31.52, 32.69)
CIE-LCHlch(38.76, 45.41, 133.96°)
OKLaboklab(46.15% -0.0867 0.0758)
OKLCHoklch(46.15% 0.115 138.8)
XYZxyz(6.5040, 10.5193, 3.2008)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336722 #562267
analogous
#566722 #336722 #226734
triadic
#336722 #223367 #672233
tetradic
#336722 #225667 #562267 #673422
square
#336722 #225667 #562267 #673422
split-complementary
#336722 #342267 #672256
monochromatic
#0B1708 #1C3913 #336722 #4A9531 #62C143

Accessibility & contrast

On white

6.77
#336722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#336722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336722
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336722#FFFFFF#000000##FFFFFF
##3367221.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#635A28
Tritanopia (blue-blind)
#2F6359
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336722;
/* rgb */ color: rgb(51, 103, 34);
/* oklch */ color: oklch(46.1% 0.115 138.8);
Tailwind
colors: {
  custom: {
    50: '#709360',
    500: '#336722',
    950: '#000000',
  },
}
SCSS
$custom: #336722;
$custom-light: #709360;
$custom-dark: #000000;
JSON
{
  "hex": "#336722",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 105.217,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.11516,
    "h": 138.8
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#336722
secondary
#874A9B
accent
#4EDAB7
background
#F7F9F5
surface
#EDF1EA
border
#C8CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336722

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

Preview Lab → · Contrast checker → · Palette generator →

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