#335141#335141

#335141 is a dark, muted green. Relative luminance 0.070; OKLCH L 40.6% C 0.045 H 160.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#335141
RGBrgb(51, 81, 65)
HSLhsl(148, 23%, 26%)
HSVhsv(148, 37%, 32%)
CMYKcmyk(37%, 0%, 19.8%, 68.2%)
CIE-LABlab(31.74, -15.21, 5.91)
CIE-LCHlch(31.74, 16.32, 158.76°)
OKLaboklab(40.61% -0.0424 0.0152)
OKLCHoklch(40.61% 0.045 160.2)
XYZxyz(5.2615, 6.9700, 6.0681)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335141 #513343
analogous
#345133 #335141 #335150
triadic
#335141 #413351 #514133
tetradic
#335141 #333451 #513343 #515033
square
#335141 #333451 #513343 #515033
split-complementary
#335141 #503351 #513334
monochromatic
#0C130F #1B2B23 #335141 #4B775F #629C7D

Accessibility & contrast

On white

8.77
#335141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#335141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335141
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335141#FFFFFF#000000##FFFFFF
##3351411.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D40
Deuteranopia (green-blind)
#4B4942
Tritanopia (blue-blind)
#2D514C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335141;
/* rgb */ color: rgb(51, 81, 65);
/* oklch */ color: oklch(40.6% 0.045 160.2);
Tailwind
colors: {
  custom: {
    50: '#6c8275',
    500: '#335141',
    950: '#000000',
  },
}
SCSS
$custom: #335141;
$custom-light: #6c8275;
$custom-dark: #000000;
JSON
{
  "hex": "#335141",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 65
  },
  "hsl": {
    "h": 148,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.04501,
    "h": 160.2
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#335141
secondary
#825E71
accent
#6997BF
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #335141

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

Preview Lab → · Contrast checker → · Palette generator →

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