#335C2D#335C2D

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

Color values

HEX#335C2D
RGBrgb(51, 92, 45)
HSLhsl(112, 34%, 27%)
HSVhsv(112, 51%, 36%)
CMYKcmyk(44.6%, 0%, 51.1%, 63.9%)
CIE-LABlab(35.10, -24.93, 22.55)
CIE-LCHlch(35.10, 33.61, 137.87°)
OKLaboklab(43.2% -0.0681 0.0547)
OKLCHoklch(43.2% 0.087 141.2)
XYZxyz(5.6658, 8.5472, 3.8333)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C2D #562D5C
analogous
#4B5C2D #335C2D #2D5C3F
triadic
#335C2D #2D335C #5C2D33
tetradic
#335C2D #2D4B5C #562D5C #5C3F2D
square
#335C2D #2D4B5C #562D5C #5C3F2D
split-complementary
#335C2D #3F2D5C #5C2D4B
monochromatic
#0B150A #1C3319 #335C2D #4A8541 #62AD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335C2D#FFFFFF#000000##FFFFFF
##335C2D1.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)
#5E5529
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#2F5951
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335c2d;
/* rgb */ color: rgb(51, 92, 45);
/* oklch */ color: oklch(43.2% 0.087 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d8a67',
    500: '#335c2d',
    950: '#000000',
  },
}
SCSS
$custom: #335c2d;
$custom-light: #6d8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#335c2d",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 112.34,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43196,
    "c": 0.08731,
    "h": 141.2
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#335C2D
secondary
#87578E
accent
#5DCABC
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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