#335C22#335C22

#335C22 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.099 H 137.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#335C22
RGBrgb(51, 92, 34)
HSLhsl(102, 46%, 25%)
HSVhsv(102, 63%, 36%)
CMYKcmyk(44.6%, 0%, 63%, 63.9%)
CIE-LABlab(34.95, -26.44, 28.39)
CIE-LCHlch(34.95, 38.80, 132.96°)
OKLaboklab(43.03% -0.0729 0.0666)
OKLCHoklch(43.03% 0.099 137.6)
XYZxyz(5.4810, 8.4733, 2.8598)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C22 #4B225C
analogous
#505C22 #335C22 #225C2E
triadic
#335C22 #22335C #5C2233
tetradic
#335C22 #22505C #4B225C #5C2E22
square
#335C22 #22505C #4B225C #5C2E22
split-complementary
#335C22 #2E225C #5C2250
monochromatic
#0C1608 #1A2F11 #335C22 #4C8933 #65B543

Accessibility & contrast

On white

7.79
#335C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#335C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C22
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C22#FFFFFF#000000##FFFFFF
##335C221.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#31594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c22;
/* rgb */ color: rgb(51, 92, 34);
/* oklch */ color: oklch(43.0% 0.099 137.6);
Tailwind
colors: {
  custom: {
    50: '#6e8a5f',
    500: '#335c22',
    950: '#000000',
  },
}
SCSS
$custom: #335c22;
$custom-light: #6e8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#335c22",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 102.414,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.09874,
    "h": 137.6
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#335C22
secondary
#7B4A90
accent
#52D6AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #335C22

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

Preview Lab → · Contrast checker → · Palette generator →

#335C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva