#335D3D#335D3D

#335D3D is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.8% C 0.071 H 150.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#335D3D
RGBrgb(51, 93, 61)
HSLhsl(134, 29%, 28%)
HSVhsv(134, 45%, 36%)
CMYKcmyk(45.2%, 0%, 34.4%, 63.5%)
CIE-LABlab(35.73, -22.56, 13.92)
CIE-LCHlch(35.73, 26.51, 148.31°)
OKLaboklab(43.81% -0.0615 0.0351)
OKLCHoklch(43.81% 0.071 150.3)
XYZxyz(6.1215, 8.8690, 5.8033)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D3D #5D3353
analogous
#3E5D33 #335D3D #335D52
triadic
#335D3D #3D335D #5D3D33
tetradic
#335D3D #333E5D #5D3353 #5D5233
square
#335D3D #333E5D #5D3353 #5D5233
split-complementary
#335D3D #52335D #5D333E
monochromatic
#0B140D #1D3523 #335D3D #498557 #62A973

Accessibility & contrast

On white

7.57
#335D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#335D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D3D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D3D#FFFFFF#000000##FFFFFF
##335D3D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573B
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#2C5C55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335d3d;
/* rgb */ color: rgb(51, 93, 61);
/* oklch */ color: oklch(43.8% 0.071 150.3);
Tailwind
colors: {
  custom: {
    50: '#6d8b72',
    500: '#335d3d',
    950: '#000000',
  },
}
SCSS
$custom: #335d3d;
$custom-light: #6d8b72;
$custom-dark: #000000;
JSON
{
  "hex": "#335d3d",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 61
  },
  "hsl": {
    "h": 134.286,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.07083,
    "h": 150.3
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#335D3D
secondary
#8E5E83
accent
#62AEC5
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #335D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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