#335C2C#335C2C

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

Color values

HEX#335C2C
RGBrgb(51, 92, 44)
HSLhsl(111, 35%, 27%)
HSVhsv(111, 52%, 36%)
CMYKcmyk(44.6%, 0%, 52.2%, 63.9%)
CIE-LABlab(35.08, -25.08, 23.10)
CIE-LCHlch(35.08, 34.10, 137.36°)
OKLaboklab(43.18% -0.0685 0.0559)
OKLCHoklch(43.18% 0.088 140.8)
XYZxyz(5.6468, 8.5396, 3.7332)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C2C #552C5C
analogous
#4B5C2C #335C2C #2C5C3D
triadic
#335C2C #2C335C #5C2C33
tetradic
#335C2C #2C4B5C #552C5C #5C3D2C
square
#335C2C #2C4B5C #552C5C #5C3D2C
split-complementary
#335C2C #3D2C5C #5C2C4B
monochromatic
#0B150A #1C3318 #335C2C #4A8540 #62AE55

Accessibility & contrast

On white

7.75
#335C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C2C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C2C#FFFFFF#000000##FFFFFF
##335C2C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5528
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#2F5951
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c2c;
/* rgb */ color: rgb(51, 92, 44);
/* oklch */ color: oklch(43.2% 0.088 140.8);
Tailwind
colors: {
  custom: {
    50: '#6d8a66',
    500: '#335c2c',
    950: '#000000',
  },
}
SCSS
$custom: #335c2c;
$custom-light: #6d8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#335c2c",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 111.25,
    "s": 35.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.08841,
    "h": 140.8
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#335C2C
secondary
#86568E
accent
#5CCBBB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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