#335136#335136

#335136 is a dark, muted green. Relative luminance 0.069; OKLCH L 40.3% C 0.057 H 146.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#335136
RGBrgb(51, 81, 54)
HSLhsl(126, 23%, 26%)
HSVhsv(126, 37%, 32%)
CMYKcmyk(37%, 0%, 33.3%, 68.2%)
CIE-LABlab(31.47, -17.62, 12.45)
CIE-LCHlch(31.47, 21.57, 144.76°)
OKLaboklab(40.31% -0.0481 0.0314)
OKLCHoklch(40.31% 0.057 146.8)
XYZxyz(4.9733, 6.8548, 4.5504)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335136 #51334E
analogous
#3F5133 #335136 #335145
triadic
#335136 #363351 #513633
tetradic
#335136 #333F51 #51334E #514533
square
#335136 #333F51 #51334E #514533
split-complementary
#335136 #453351 #51333F
monochromatic
#0C130D #1B2B1D #335136 #4B774F #629C68

Accessibility & contrast

On white

8.86
#335136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#335136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335136
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335136#FFFFFF#000000##FFFFFF
##3351361.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C34
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#2F504A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #335136;
/* rgb */ color: rgb(51, 81, 54);
/* oklch */ color: oklch(40.3% 0.057 146.8);
Tailwind
colors: {
  custom: {
    50: '#6c826d',
    500: '#335136',
    950: '#000000',
  },
}
SCSS
$custom: #335136;
$custom-light: #6c826d;
$custom-dark: #000000;
JSON
{
  "hex": "#335136",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 54
  },
  "hsl": {
    "h": 126,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.05744,
    "h": 146.8
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#335136
secondary
#825E7E
accent
#69B7BF
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A07
muted
#7A7C7A

Preview Lab

Preview with #335136

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

Preview Lab → · Contrast checker → · Palette generator →

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