#335331#335331

#335331 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.7% C 0.067 H 142.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#335331
RGBrgb(51, 83, 49)
HSLhsl(116, 26%, 26%)
HSVhsv(116, 41%, 33%)
CMYKcmyk(38.6%, 0%, 41%, 67.5%)
CIE-LABlab(32.06, -19.65, 16.30)
CIE-LCHlch(32.06, 25.53, 140.32°)
OKLaboklab(40.75% -0.0536 0.0405)
OKLCHoklch(40.75% 0.067 142.9)
XYZxyz(5.0127, 7.1118, 4.0137)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335331 #513153
analogous
#445331 #335331 #315340
triadic
#335331 #313353 #533133
tetradic
#335331 #314453 #513153 #534031
square
#335331 #314453 #513153 #534031
split-complementary
#335331 #403153 #533144
monochromatic
#0C130B #1B2D1A #335331 #4B7948 #62A05E

Accessibility & contrast

On white

8.67
#335331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#335331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335331
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335331#FFFFFF#000000##FFFFFF
##3353311.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2F
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#30514A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335331;
/* rgb */ color: rgb(51, 83, 49);
/* oklch */ color: oklch(40.7% 0.067 142.9);
Tailwind
colors: {
  custom: {
    50: '#6c8369',
    500: '#335331',
    950: '#000000',
  },
}
SCSS
$custom: #335331;
$custom-light: #6c8369;
$custom-dark: #000000;
JSON
{
  "hex": "#335331",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 116.471,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.06716,
    "h": 142.9
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#335331
secondary
#825C84
accent
#66C2BD
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #335331

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

Preview Lab → · Contrast checker → · Palette generator →

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