#335C27#335C27

#335C27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.094 H 139.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#335C27
RGBrgb(51, 92, 39)
HSLhsl(106, 40%, 26%)
HSVhsv(106, 58%, 36%)
CMYKcmyk(44.6%, 0%, 57.6%, 63.9%)
CIE-LABlab(35.01, -25.80, 25.80)
CIE-LCHlch(35.01, 36.49, 135.00°)
OKLaboklab(43.1% -0.0708 0.0615)
OKLCHoklch(43.1% 0.094 139)
XYZxyz(5.5584, 8.5043, 3.2677)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C27 #50275C
analogous
#4D5C27 #335C27 #275C35
triadic
#335C27 #27335C #5C2733
tetradic
#335C27 #274D5C #50275C #5C3527
square
#335C27 #274D5C #50275C #5C3527
split-complementary
#335C27 #35275C #5C274D
monochromatic
#0C1509 #1B3115 #335C27 #4B8739 #63B24B

Accessibility & contrast

On white

7.77
#335C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#335C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C27
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C27#FFFFFF#000000##FFFFFF
##335C271.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#305950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c27;
/* rgb */ color: rgb(51, 92, 39);
/* oklch */ color: oklch(43.1% 0.094 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e8a63',
    500: '#335c27',
    950: '#000000',
  },
}
SCSS
$custom: #335c27;
$custom-light: #6e8a63;
$custom-dark: #000000;
JSON
{
  "hex": "#335c27",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 39
  },
  "hsl": {
    "h": 106.415,
    "s": 40.458,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.09375,
    "h": 139
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#335C27
secondary
#81508F
accent
#57D0B5
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #335C27

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

Preview Lab → · Contrast checker → · Palette generator →

#335C27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva