#335C38#335C38

#335C38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.4% C 0.075 H 147.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#335C38
RGBrgb(51, 92, 56)
HSLhsl(127, 29%, 28%)
HSVhsv(127, 45%, 36%)
CMYKcmyk(44.6%, 0%, 39.1%, 63.9%)
CIE-LABlab(35.29, -23.03, 16.34)
CIE-LCHlch(35.29, 28.24, 144.64°)
OKLaboklab(43.41% -0.0627 0.0408)
OKLCHoklch(43.41% 0.075 147)
XYZxyz(5.9059, 8.6433, 5.0977)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C38 #5C3357
analogous
#425C33 #335C38 #335C4C
triadic
#335C38 #38335C #5C3833
tetradic
#335C38 #33425C #5C3357 #5C4C33
square
#335C38 #33425C #5C3357 #5C4C33
split-complementary
#335C38 #4C335C #5C3342
monochromatic
#0B140C #1D3520 #335C38 #498350 #62A86A

Accessibility & contrast

On white

7.70
#335C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#335C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C38
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C38#FFFFFF#000000##FFFFFF
##335C381.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5536
Deuteranopia (green-blind)
#57513A
Tritanopia (blue-blind)
#2D5A53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335c38;
/* rgb */ color: rgb(51, 92, 56);
/* oklch */ color: oklch(43.4% 0.075 147.0);
Tailwind
colors: {
  custom: {
    50: '#6d8a6f',
    500: '#335c38',
    950: '#000000',
  },
}
SCSS
$custom: #335c38;
$custom-light: #6d8a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#335c38",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 56
  },
  "hsl": {
    "h": 127.317,
    "s": 28.671,
    "l": 28.039
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.0748,
    "h": 147
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#335C38
secondary
#8D5E87
accent
#63B9C5
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #335C38

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

Preview Lab → · Contrast checker → · Palette generator →

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