#335337#335337

#335337 is a dark, muted green. Relative luminance 0.072; OKLCH L 40.9% C 0.060 H 147.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#335337
RGBrgb(51, 83, 55)
HSLhsl(128, 24%, 26%)
HSVhsv(128, 39%, 33%)
CMYKcmyk(38.6%, 0%, 33.7%, 67.5%)
CIE-LABlab(32.18, -18.50, 12.79)
CIE-LCHlch(32.18, 22.49, 145.35°)
OKLaboklab(40.89% -0.0505 0.0323)
OKLCHoklch(40.89% 0.06 147.4)
XYZxyz(5.1478, 7.1659, 4.7256)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335337 #53334F
analogous
#3F5333 #335337 #335347
triadic
#335337 #373353 #533733
tetradic
#335337 #333F53 #53334F #534733
square
#335337 #333F53 #53334F #534733
split-complementary
#335337 #473353 #53333F
monochromatic
#0C130D #1C2D1E #335337 #4A7950 #629E69

Accessibility & contrast

On white

8.63
#335337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#335337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335337
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335337#FFFFFF#000000##FFFFFF
##3353371.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E35
Deuteranopia (green-blind)
#4F4A39
Tritanopia (blue-blind)
#2F524C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335337;
/* rgb */ color: rgb(51, 83, 55);
/* oklch */ color: oklch(40.9% 0.060 147.4);
Tailwind
colors: {
  custom: {
    50: '#6c836e',
    500: '#335337',
    950: '#000000',
  },
}
SCSS
$custom: #335337;
$custom-light: #6c836e;
$custom-dark: #000000;
JSON
{
  "hex": "#335337",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 55
  },
  "hsl": {
    "h": 127.5,
    "s": 23.881,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.05992,
    "h": 147.4
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#335337
secondary
#845E7F
accent
#67B5C0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A07
muted
#7A7C7A

Preview Lab

Preview with #335337

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

Preview Lab → · Contrast checker → · Palette generator →

#335337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva