#335C2B#335C2B

#335C2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.2% C 0.089 H 140.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#335C2B
RGBrgb(51, 92, 43)
HSLhsl(110, 36%, 26%)
HSVhsv(110, 53%, 36%)
CMYKcmyk(44.6%, 0%, 53.3%, 63.9%)
CIE-LABlab(35.07, -25.23, 23.65)
CIE-LCHlch(35.07, 34.58, 136.86°)
OKLaboklab(43.16% -0.069 0.057)
OKLCHoklch(43.16% 0.09 140.4)
XYZxyz(5.6282, 8.5322, 3.6353)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C2B #542B5C
analogous
#4C5C2B #335C2B #2B5C3C
triadic
#335C2B #2B335C #5C2B33
tetradic
#335C2B #2B4C5C #542B5C #5C3C2B
square
#335C2B #2B4C5C #542B5C #5C3C2B
split-complementary
#335C2B #3C2B5C #5C2B4C
monochromatic
#0C150A #1C3218 #335C2B #4A863E #62AF53

Accessibility & contrast

On white

7.76
#335C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C2B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C2B#FFFFFF#000000##FFFFFF
##335C2B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5527
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#305951
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c2b;
/* rgb */ color: rgb(51, 92, 43);
/* oklch */ color: oklch(43.2% 0.089 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e8a65',
    500: '#335c2b',
    950: '#000000',
  },
}
SCSS
$custom: #335c2b;
$custom-light: #6e8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#335c2b",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 110.204,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43162,
    "c": 0.0895,
    "h": 140.4
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#335C2B
secondary
#85558E
accent
#5BCCBA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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