#335341#335341

#335341 is a dark, muted green. Relative luminance 0.073; OKLCH L 41.2% C 0.049 H 158.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#335341
RGBrgb(51, 83, 65)
HSLhsl(146, 24%, 26%)
HSVhsv(146, 39%, 33%)
CMYKcmyk(38.6%, 0%, 21.7%, 67.5%)
CIE-LABlab(32.42, -16.34, 6.87)
CIE-LCHlch(32.42, 17.72, 157.18°)
OKLaboklab(41.15% -0.0453 0.0177)
OKLCHoklch(41.15% 0.049 158.7)
XYZxyz(5.4123, 7.2717, 6.1184)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335341 #533345
analogous
#355333 #335341 #335351
triadic
#335341 #413353 #534133
tetradic
#335341 #333553 #533345 #535133
square
#335341 #333553 #533345 #535133
split-complementary
#335341 #513353 #533335
monochromatic
#0C130F #1C2D23 #335341 #4A795F #629E7C

Accessibility & contrast

On white

8.56
#335341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335341
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335341#FFFFFF#000000##FFFFFF
##3353411.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#4D4B42
Tritanopia (blue-blind)
#2C534E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335341;
/* rgb */ color: rgb(51, 83, 65);
/* oklch */ color: oklch(41.2% 0.049 158.7);
Tailwind
colors: {
  custom: {
    50: '#6c8375',
    500: '#335341',
    950: '#000000',
  },
}
SCSS
$custom: #335341;
$custom-light: #6c8375;
$custom-dark: #000000;
JSON
{
  "hex": "#335341",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 65
  },
  "hsl": {
    "h": 146.25,
    "s": 23.881,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.04862,
    "h": 158.7
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#335341
secondary
#845E73
accent
#6799C0
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #335341

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

Preview Lab → · Contrast checker → · Palette generator →

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