#335B3D#335B3D

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

Color values

HEX#335B3D
RGBrgb(51, 91, 61)
HSLhsl(135, 28%, 28%)
HSVhsv(135, 44%, 36%)
CMYKcmyk(44%, 0%, 33%, 64.3%)
CIE-LABlab(35.05, -21.52, 13.00)
CIE-LCHlch(35.05, 25.14, 148.87°)
OKLaboklab(43.25% -0.0588 0.0329)
OKLCHoklch(43.25% 0.067 150.8)
XYZxyz(5.9483, 8.5225, 5.7456)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B3D #5B3351
analogous
#3D5B33 #335B3D #335B51
triadic
#335B3D #3D335B #5B3D33
tetradic
#335B3D #333D5B #5B3351 #5B5133
square
#335B3D #333D5B #5B3351 #5B5133
split-complementary
#335B3D #51335B #5B333D
monochromatic
#0B140D #1D3423 #335B3D #498257 #62A773

Accessibility & contrast

On white

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

On black

2.70
#335B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##335B3D#FFFFFF#000000##FFFFFF
##335B3D1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553B
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#2C5A53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335b3d;
/* rgb */ color: rgb(51, 91, 61);
/* oklch */ color: oklch(43.3% 0.067 150.8);
Tailwind
colors: {
  custom: {
    50: '#6d8972',
    500: '#335b3d',
    950: '#000000',
  },
}
SCSS
$custom: #335b3d;
$custom-light: #6d8972;
$custom-dark: #000000;
JSON
{
  "hex": "#335b3d",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 61
  },
  "hsl": {
    "h": 135,
    "s": 28.169,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.06733,
    "h": 150.8
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#335B3D
secondary
#8C5E80
accent
#63ACC4
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070B08
muted
#7A7C7B

Preview Lab

Preview with #335B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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