#335D29#335D29

#335D29 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.093 H 139.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#335D29
RGBrgb(51, 93, 41)
HSLhsl(108, 39%, 26%)
HSVhsv(108, 56%, 36%)
CMYKcmyk(45.2%, 0%, 55.9%, 63.5%)
CIE-LABlab(35.38, -26.01, 25.15)
CIE-LCHlch(35.38, 36.18, 135.96°)
OKLaboklab(43.41% -0.0712 0.0602)
OKLCHoklch(43.41% 0.093 139.8)
XYZxyz(5.6796, 8.6923, 3.4759)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D29 #53295D
analogous
#4D5D29 #335D29 #295D39
triadic
#335D29 #29335D #5D2933
tetradic
#335D29 #294D5D #53295D #5D3929
square
#335D29 #294D5D #53295D #5D3929
split-complementary
#335D29 #39295D #5D294D
monochromatic
#0C1509 #1C3316 #335D29 #4A873C #62B14F

Accessibility & contrast

On white

7.67
#335D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#335D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D29
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D29#FFFFFF#000000##FFFFFF
##335D291.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#5A522D
Tritanopia (blue-blind)
#305A51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d29;
/* rgb */ color: rgb(51, 93, 41);
/* oklch */ color: oklch(43.4% 0.093 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e8b64',
    500: '#335d29',
    950: '#000000',
  },
}
SCSS
$custom: #335d29;
$custom-light: #6e8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#335d29",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 41
  },
  "hsl": {
    "h": 108.462,
    "s": 38.806,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.09326,
    "h": 139.8
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#335D29
secondary
#845290
accent
#59CFB8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #335D29

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

Preview Lab → · Contrast checker → · Palette generator →

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