#335239#335239

#335239 is a dark, muted green. Relative luminance 0.070; OKLCH L 40.7% C 0.056 H 149.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#335239
RGBrgb(51, 82, 57)
HSLhsl(132, 23%, 26%)
HSVhsv(132, 38%, 32%)
CMYKcmyk(37.8%, 0%, 30.5%, 67.8%)
CIE-LABlab(31.88, -17.55, 11.14)
CIE-LCHlch(31.88, 20.79, 147.60°)
OKLaboklab(40.66% -0.048 0.0283)
OKLCHoklch(40.66% 0.056 149.5)
XYZxyz(5.1208, 7.0335, 4.9579)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335239 #52334C
analogous
#3C5233 #335239 #335248
triadic
#335239 #393352 #523933
tetradic
#335239 #333C52 #52334C #524833
square
#335239 #333C52 #52334C #524833
split-complementary
#335239 #483352 #52333C
monochromatic
#0C130D #1C2C1F #335239 #4A7853 #629D6E

Accessibility & contrast

On white

8.73
#335239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#335239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335239
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335239#FFFFFF#000000##FFFFFF
##3352391.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D37
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#2E514B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335239;
/* rgb */ color: rgb(51, 82, 57);
/* oklch */ color: oklch(40.7% 0.056 149.5);
Tailwind
colors: {
  custom: {
    50: '#6c836f',
    500: '#335239',
    950: '#000000',
  },
}
SCSS
$custom: #335239;
$custom-light: #6c836f;
$custom-dark: #000000;
JSON
{
  "hex": "#335239",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 131.613,
    "s": 23.308,
    "l": 26.078
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.05571,
    "h": 149.5
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#335239
secondary
#835E7C
accent
#68AFC0
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#070A07
muted
#7A7C7A

Preview Lab

Preview with #335239

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

Preview Lab → · Contrast checker → · Palette generator →

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