#335C2A#335C2A

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

Color values

HEX#335C2A
RGBrgb(51, 92, 42)
HSLhsl(109, 37%, 26%)
HSVhsv(109, 54%, 36%)
CMYKcmyk(44.6%, 0%, 54.3%, 63.9%)
CIE-LABlab(35.05, -25.38, 24.19)
CIE-LCHlch(35.05, 35.06, 136.37°)
OKLaboklab(43.15% -0.0694 0.0582)
OKLCHoklch(43.15% 0.091 140.1)
XYZxyz(5.6101, 8.5249, 3.5399)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C2A #532A5C
analogous
#4C5C2A #335C2A #2A5C3A
triadic
#335C2A #2A335C #5C2A33
tetradic
#335C2A #2A4C5C #532A5C #5C3A2A
square
#335C2A #2A4C5C #532A5C #5C3A2A
split-complementary
#335C2A #3A2A5C #5C2A4C
monochromatic
#0C150A #1C3217 #335C2A #4A863D #62B051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335C2A#FFFFFF#000000##FFFFFF
##335C2A1.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)
#5E5526
Deuteranopia (green-blind)
#59512D
Tritanopia (blue-blind)
#305950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c2a;
/* rgb */ color: rgb(51, 92, 42);
/* oklch */ color: oklch(43.1% 0.091 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e8a65',
    500: '#335c2a',
    950: '#000000',
  },
}
SCSS
$custom: #335c2a;
$custom-light: #6e8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#335c2a",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 109.2,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.09058,
    "h": 140.1
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#335C2A
secondary
#84538E
accent
#5BCDB9
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #335C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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