#335D2B#335D2B

#335D2B is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.091 H 140.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#335D2B
RGBrgb(51, 93, 43)
HSLhsl(110, 37%, 27%)
HSVhsv(110, 54%, 36%)
CMYKcmyk(45.2%, 0%, 53.8%, 63.5%)
CIE-LABlab(35.41, -25.72, 24.07)
CIE-LCHlch(35.41, 35.23, 136.90°)
OKLaboklab(43.44% -0.0703 0.058)
OKLCHoklch(43.44% 0.091 140.5)
XYZxyz(5.7154, 8.7066, 3.6644)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D2B #552B5D
analogous
#4C5D2B #335D2B #2B5D3C
triadic
#335D2B #2B335D #5D2B33
tetradic
#335D2B #2B4C5D #552B5D #5D3C2B
square
#335D2B #2B4C5D #552B5D #5D3C2B
split-complementary
#335D2B #3C2B5D #5D2B4C
monochromatic
#0B150A #1C3318 #335D2B #4A873E #62AF53

Accessibility & contrast

On white

7.66
#335D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#335D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D2B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D2B#FFFFFF#000000##FFFFFF
##335D2B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5627
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#2F5A51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d2b;
/* rgb */ color: rgb(51, 93, 43);
/* oklch */ color: oklch(43.4% 0.091 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e8b65',
    500: '#335d2b',
    950: '#000000',
  },
}
SCSS
$custom: #335d2b;
$custom-light: #6e8b65;
$custom-dark: #000000;
JSON
{
  "hex": "#335d2b",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 110.4,
    "s": 36.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.09114,
    "h": 140.5
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#335D2B
secondary
#86558F
accent
#5BCDBB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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