#336A22#336A22

#336A22 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.119 H 139.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#336A22
RGBrgb(51, 106, 34)
HSLhsl(106, 51%, 27%)
HSVhsv(106, 68%, 42%)
CMYKcmyk(51.9%, 0%, 67.9%, 58.4%)
CIE-LABlab(39.79, -32.84, 33.83)
CIE-LCHlch(39.79, 47.15, 134.15°)
OKLaboklab(47% -0.0903 0.0782)
OKLCHoklch(47% 0.119 139.1)
XYZxyz(6.8078, 11.1269, 3.3020)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A22 #59226A
analogous
#576A22 #336A22 #226A35
triadic
#336A22 #22336A #6A2233
tetradic
#336A22 #22576A #59226A #6A3522
square
#336A22 #22576A #59226A #6A3522
split-complementary
#336A22 #35226A #6A2257
monochromatic
#0B1707 #1D3C13 #336A22 #499831 #62C344

Accessibility & contrast

On white

6.51
#336A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#336A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A22
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A22#FFFFFF#000000##FFFFFF
##336A221.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6119
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#2E665B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a22;
/* rgb */ color: rgb(51, 106, 34);
/* oklch */ color: oklch(47.0% 0.119 139.1);
Tailwind
colors: {
  custom: {
    50: '#709561',
    500: '#336a22',
    950: '#000000',
  },
}
SCSS
$custom: #336a22;
$custom-light: #709561;
$custom-dark: #000000;
JSON
{
  "hex": "#336a22",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 105.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.11946,
    "h": 139.1
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#336A22
secondary
#8A4A9E
accent
#4DDBB9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336A22

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

Preview Lab → · Contrast checker → · Palette generator →

#336A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva