#336F22#336F22

#336F22 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.126 H 139.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336F22
RGBrgb(51, 111, 34)
HSLhsl(107, 53%, 28%)
HSVhsv(107, 69%, 44%)
CMYKcmyk(54.1%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.51, -35.00, 35.70)
CIE-LCHlch(41.51, 49.99, 134.43°)
OKLaboklab(48.41% -0.0961 0.0822)
OKLCHoklch(48.41% 0.126 139.5)
XYZxyz(7.3381, 12.1876, 3.4788)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F22 #5E226F
analogous
#596F22 #336F22 #226F37
triadic
#336F22 #22336F #6F2233
tetradic
#336F22 #22596F #5E226F #6F3722
square
#336F22 #22596F #5E226F #6F3722
split-complementary
#336F22 #37226F #6F2259
monochromatic
#0B1707 #1D4014 #336F22 #499E30 #62C645

Accessibility & contrast

On white

6.11
#336F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F22
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F22#FFFFFF#000000##FFFFFF
##336F221.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#2D6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f22;
/* rgb */ color: rgb(51, 111, 34);
/* oklch */ color: oklch(48.4% 0.126 139.5);
Tailwind
colors: {
  custom: {
    50: '#719961',
    500: '#336f22',
    950: '#000000',
  },
}
SCSS
$custom: #336f22;
$custom-light: #719961;
$custom-dark: #000000;
JSON
{
  "hex": "#336f22",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 106.753,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.12646,
    "h": 139.5
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#336F22
secondary
#8F4AA2
accent
#4BDDBC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F22

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

Preview Lab → · Contrast checker → · Palette generator →

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