#335E2B#335E2B

#335E2B is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.093 H 140.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#335E2B
RGBrgb(51, 94, 43)
HSLhsl(111, 37%, 27%)
HSVhsv(111, 54%, 37%)
CMYKcmyk(45.7%, 0%, 54.3%, 63.1%)
CIE-LABlab(35.76, -26.21, 24.49)
CIE-LCHlch(35.76, 35.87, 136.93°)
OKLaboklab(43.73% -0.0716 0.0589)
OKLCHoklch(43.73% 0.093 140.6)
XYZxyz(5.8038, 8.8833, 3.6939)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E2B #562B5E
analogous
#4D5E2B #335E2B #2B5E3D
triadic
#335E2B #2B335E #5E2B33
tetradic
#335E2B #2B4D5E #562B5E #5E3D2B
square
#335E2B #2B4D5E #562B5E #5E3D2B
split-complementary
#335E2B #3D2B5E #5E2B4D
monochromatic
#0B150A #1C3418 #335E2B #4A883E #62B053

Accessibility & contrast

On white

7.56
#335E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#335E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E2B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E2B#FFFFFF#000000##FFFFFF
##335E2B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605727
Deuteranopia (green-blind)
#5A532E
Tritanopia (blue-blind)
#2F5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e2b;
/* rgb */ color: rgb(51, 94, 43);
/* oklch */ color: oklch(43.7% 0.093 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e8c65',
    500: '#335e2b',
    950: '#000000',
  },
}
SCSS
$custom: #335e2b;
$custom-light: #6e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#335e2b",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 110.588,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.09275,
    "h": 140.6
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#335E2B
secondary
#875590
accent
#5BCDBB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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