#335C29#335C29

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

Color values

HEX#335C29
RGBrgb(51, 92, 41)
HSLhsl(108, 38%, 26%)
HSVhsv(108, 55%, 36%)
CMYKcmyk(44.6%, 0%, 55.4%, 63.9%)
CIE-LABlab(35.04, -25.52, 24.73)
CIE-LCHlch(35.04, 35.54, 135.90°)
OKLaboklab(43.13% -0.0699 0.0593)
OKLCHoklch(43.13% 0.092 139.7)
XYZxyz(5.5924, 8.5179, 3.4468)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C29 #52295C
analogous
#4C5C29 #335C29 #295C38
triadic
#335C29 #29335C #5C2933
tetradic
#335C29 #294C5C #52295C #5C3829
square
#335C29 #294C5C #52295C #5C3829
split-complementary
#335C29 #38295C #5C294C
monochromatic
#0C1509 #1C3216 #335C29 #4A863C #62B14F

Accessibility & contrast

On white

7.77
#335C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C29
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C29#FFFFFF#000000##FFFFFF
##335C291.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5524
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#305950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c29;
/* rgb */ color: rgb(51, 92, 41);
/* oklch */ color: oklch(43.1% 0.092 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e8a64',
    500: '#335c29',
    950: '#000000',
  },
}
SCSS
$custom: #335c29;
$custom-light: #6e8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#335c29",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 41
  },
  "hsl": {
    "h": 108.235,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.09165,
    "h": 139.7
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#335C29
secondary
#83528F
accent
#5ACEB7
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #335C29

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

Preview Lab → · Contrast checker → · Palette generator →

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