#335C2E#335C2E

#335C2E is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.086 H 141.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#335C2E
RGBrgb(51, 92, 46)
HSLhsl(113, 33%, 27%)
HSVhsv(113, 50%, 36%)
CMYKcmyk(44.6%, 0%, 50%, 63.9%)
CIE-LABlab(35.11, -24.77, 22.00)
CIE-LCHlch(35.11, 33.13, 138.40°)
OKLaboklab(43.21% -0.0676 0.0535)
OKLCHoklch(43.21% 0.086 141.6)
XYZxyz(5.6853, 8.5550, 3.9359)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C2E #572E5C
analogous
#4A5C2E #335C2E #2E5C40
triadic
#335C2E #2E335C #5C2E33
tetradic
#335C2E #2E4A5C #572E5C #5C402E
square
#335C2E #2E4A5C #572E5C #5C402E
split-complementary
#335C2E #402E5C #5C2E4A
monochromatic
#0B140A #1C331A #335C2E #4A8542 #62AC59

Accessibility & contrast

On white

7.75
#335C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C2E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C2E#FFFFFF#000000##FFFFFF
##335C2E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#2F5951
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335c2e;
/* rgb */ color: rgb(51, 92, 46);
/* oklch */ color: oklch(43.2% 0.086 141.6);
Tailwind
colors: {
  custom: {
    50: '#6d8a67',
    500: '#335c2e',
    950: '#000000',
  },
}
SCSS
$custom: #335c2e;
$custom-light: #6d8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#335c2e",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 113.478,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.0862,
    "h": 141.6
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#335C2E
secondary
#88588E
accent
#5EC9BE
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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