#335B29#335B29

#335B29 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.8% C 0.090 H 139.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#335B29
RGBrgb(51, 91, 41)
HSLhsl(108, 38%, 26%)
HSVhsv(108, 55%, 36%)
CMYKcmyk(44%, 0%, 54.9%, 64.3%)
CIE-LABlab(34.69, -25.03, 24.31)
CIE-LCHlch(34.69, 34.90, 135.84°)
OKLaboklab(42.85% -0.0686 0.0583)
OKLCHoklch(42.85% 0.09 139.6)
XYZxyz(5.5064, 8.3458, 3.4181)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B29 #51295B
analogous
#4C5B29 #335B29 #295B38
triadic
#335B29 #29335B #5B2933
tetradic
#335B29 #294C5B #51295B #5B3829
square
#335B29 #294C5B #51295B #5B3829
split-complementary
#335B29 #38295B #5B294C
monochromatic
#0C150A #1B3116 #335B29 #4B853C #62AF4F

Accessibility & contrast

On white

7.87
#335B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#335B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B29
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B29#FFFFFF#000000##FFFFFF
##335B291.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5425
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#305850
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335b29;
/* rgb */ color: rgb(51, 91, 41);
/* oklch */ color: oklch(42.8% 0.090 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d8a64',
    500: '#335b29',
    950: '#000000',
  },
}
SCSS
$custom: #335b29;
$custom-light: #6d8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#335b29",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 41
  },
  "hsl": {
    "h": 108,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.09003,
    "h": 139.6
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#335B29
secondary
#82528E
accent
#5ACEB7
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B05
muted
#7A7C7A

Preview Lab

Preview with #335B29

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

Preview Lab → · Contrast checker → · Palette generator →

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