#335D3E#335D3E

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

Color values

HEX#335D3E
RGBrgb(51, 93, 62)
HSLhsl(136, 29%, 28%)
HSVhsv(136, 45%, 36%)
CMYKcmyk(45.2%, 0%, 33.3%, 63.5%)
CIE-LABlab(35.75, -22.35, 13.35)
CIE-LCHlch(35.75, 26.03, 149.16°)
OKLaboklab(43.83% -0.061 0.0337)
OKLCHoklch(43.83% 0.07 151.1)
XYZxyz(6.1487, 8.8799, 5.9465)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D3E #5D3352
analogous
#3D5D33 #335D3E #335D53
triadic
#335D3E #3E335D #5D3E33
tetradic
#335D3E #333D5D #5D3352 #5D5333
square
#335D3E #333D5D #5D3352 #5D5333
split-complementary
#335D3E #53335D #5D333D
monochromatic
#0B140D #1D3524 #335D3E #498558 #62A974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335D3E#FFFFFF#000000##FFFFFF
##335D3E1.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)
#5D573C
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#2B5C55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335d3e;
/* rgb */ color: rgb(51, 93, 62);
/* oklch */ color: oklch(43.8% 0.070 151.1);
Tailwind
colors: {
  custom: {
    50: '#6d8b73',
    500: '#335d3e',
    950: '#000000',
  },
}
SCSS
$custom: #335d3e;
$custom-light: #6d8b73;
$custom-dark: #000000;
JSON
{
  "hex": "#335d3e",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 62
  },
  "hsl": {
    "h": 135.714,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.0697,
    "h": 151.1
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#335D3E
secondary
#8E5E81
accent
#62ABC5
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #335D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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