#335B37#335B37

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

Color values

HEX#335B37
RGBrgb(51, 91, 55)
HSLhsl(126, 28%, 28%)
HSVhsv(126, 44%, 36%)
CMYKcmyk(44%, 0%, 39.6%, 64.3%)
CIE-LABlab(34.93, -22.71, 16.46)
CIE-LCHlch(34.93, 28.05, 144.06°)
OKLaboklab(43.11% -0.0618 0.0411)
OKLCHoklch(43.11% 0.074 146.4)
XYZxyz(5.7956, 8.4615, 4.9415)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B37 #5B3357
analogous
#435B33 #335B37 #335B4B
triadic
#335B37 #37335B #5B3733
tetradic
#335B37 #33435B #5B3357 #5B4B33
square
#335B37 #33435B #5B3357 #5B4B33
split-complementary
#335B37 #4B335B #5B3343
monochromatic
#0B140C #1D341F #335B37 #49824F #62A769

Accessibility & contrast

On white

7.80
#335B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#335B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B37
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B37#FFFFFF#000000##FFFFFF
##335B371.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5535
Deuteranopia (green-blind)
#565139
Tritanopia (blue-blind)
#2D5952
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335b37;
/* rgb */ color: rgb(51, 91, 55);
/* oklch */ color: oklch(43.1% 0.074 146.4);
Tailwind
colors: {
  custom: {
    50: '#6d896e',
    500: '#335b37',
    950: '#000000',
  },
}
SCSS
$custom: #335b37;
$custom-light: #6d896e;
$custom-dark: #000000;
JSON
{
  "hex": "#335b37",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 55
  },
  "hsl": {
    "h": 126,
    "s": 28.169,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.07422,
    "h": 146.4
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#335B37
secondary
#8C5E87
accent
#63BBC4
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070B07
muted
#7A7C7A

Preview Lab

Preview with #335B37

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

Preview Lab → · Contrast checker → · Palette generator →

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