#336E22#336E22

#336E22 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.125 H 139.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#336E22
RGBrgb(51, 110, 34)
HSLhsl(107, 53%, 28%)
HSVhsv(107, 69%, 43%)
CMYKcmyk(53.6%, 0%, 69.1%, 56.9%)
CIE-LABlab(41.17, -34.57, 35.33)
CIE-LCHlch(41.17, 49.43, 134.38°)
OKLaboklab(48.13% -0.095 0.0814)
OKLCHoklch(48.13% 0.125 139.4)
XYZxyz(7.2296, 11.9706, 3.4427)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E22 #5D226E
analogous
#596E22 #336E22 #226E37
triadic
#336E22 #22336E #6E2233
tetradic
#336E22 #22596E #5D226E #6E3722
square
#336E22 #22596E #5D226E #6E3722
split-complementary
#336E22 #37226E #6E2259
monochromatic
#0B1707 #1D3F14 #336E22 #499D30 #62C545

Accessibility & contrast

On white

6.19
#336E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#336E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E22
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E22#FFFFFF#000000##FFFFFF
##336E221.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#6A5F29
Tritanopia (blue-blind)
#2D6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e22;
/* rgb */ color: rgb(51, 110, 34);
/* oklch */ color: oklch(48.1% 0.125 139.4);
Tailwind
colors: {
  custom: {
    50: '#719861',
    500: '#336e22',
    950: '#000000',
  },
}
SCSS
$custom: #336e22;
$custom-light: #719861;
$custom-dark: #000000;
JSON
{
  "hex": "#336e22",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 106.579,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.12508,
    "h": 139.4
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#336E22
secondary
#8E4AA1
accent
#4CDCBC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336E22

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

Preview Lab → · Contrast checker → · Palette generator →

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