#335339#335339

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

Color values

HEX#335339
RGBrgb(51, 83, 57)
HSLhsl(131, 24%, 26%)
HSVhsv(131, 39%, 33%)
CMYKcmyk(38.6%, 0%, 31.3%, 67.5%)
CIE-LABlab(32.23, -18.10, 11.61)
CIE-LCHlch(32.23, 21.50, 147.32°)
OKLaboklab(40.94% -0.0495 0.0294)
OKLCHoklch(40.94% 0.058 149.3)
XYZxyz(5.1967, 7.1855, 4.9832)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335339 #53334D
analogous
#3D5333 #335339 #335349
triadic
#335339 #393353 #533933
tetradic
#335339 #333D53 #53334D #534933
square
#335339 #333D53 #53334D #534933
split-complementary
#335339 #493353 #53333D
monochromatic
#0C130D #1C2D1F #335339 #4A7953 #629E6D

Accessibility & contrast

On white

8.62
#335339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#335339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335339
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335339#FFFFFF#000000##FFFFFF
##3353391.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E37
Deuteranopia (green-blind)
#4F4A3A
Tritanopia (blue-blind)
#2E524C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335339;
/* rgb */ color: rgb(51, 83, 57);
/* oklch */ color: oklch(40.9% 0.058 149.3);
Tailwind
colors: {
  custom: {
    50: '#6c836f',
    500: '#335339',
    950: '#000000',
  },
}
SCSS
$custom: #335339;
$custom-light: #6c836f;
$custom-dark: #000000;
JSON
{
  "hex": "#335339",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 57
  },
  "hsl": {
    "h": 131.25,
    "s": 23.881,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.05756,
    "h": 149.3
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#335339
secondary
#845E7D
accent
#67B0C0
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#070A07
muted
#7A7C7A

Preview Lab

Preview with #335339

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

Preview Lab → · Contrast checker → · Palette generator →

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