#336B22#336B22

#336B22 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.3% C 0.121 H 139.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#336B22
RGBrgb(51, 107, 34)
HSLhsl(106, 52%, 28%)
HSVhsv(106, 68%, 42%)
CMYKcmyk(52.3%, 0%, 68.2%, 58%)
CIE-LABlab(40.14, -33.28, 34.20)
CIE-LCHlch(40.14, 47.72, 134.21°)
OKLaboklab(47.28% -0.0915 0.079)
OKLCHoklch(47.28% 0.121 139.2)
XYZxyz(6.9114, 11.3342, 3.3366)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B22 #5A226B
analogous
#586B22 #336B22 #226B35
triadic
#336B22 #22336B #6B2233
tetradic
#336B22 #22586B #5A226B #6B3522
square
#336B22 #22586B #5A226B #6B3522
split-complementary
#336B22 #35226B #6B2258
monochromatic
#0B1707 #1D3D13 #336B22 #499931 #62C444

Accessibility & contrast

On white

6.43
#336B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#336B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B22
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B22#FFFFFF#000000##FFFFFF
##336B221.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6219
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#2E675C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b22;
/* rgb */ color: rgb(51, 107, 34);
/* oklch */ color: oklch(47.3% 0.121 139.2);
Tailwind
colors: {
  custom: {
    50: '#709661',
    500: '#336b22',
    950: '#000000',
  },
}
SCSS
$custom: #336b22;
$custom-light: #709661;
$custom-dark: #000000;
JSON
{
  "hex": "#336b22",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 106.027,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.12087,
    "h": 139.2
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#336B22
secondary
#8B4A9F
accent
#4DDBBA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336B22

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

Preview Lab → · Contrast checker → · Palette generator →

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