#335124#335124

#335124 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.079 H 136.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#335124
RGBrgb(51, 81, 36)
HSLhsl(100, 38%, 23%)
HSVhsv(100, 56%, 32%)
CMYKcmyk(37%, 0%, 55.6%, 68.2%)
CIE-LABlab(31.15, -20.68, 22.82)
CIE-LCHlch(31.15, 30.80, 132.19°)
OKLaboklab(39.94% -0.057 0.0547)
OKLCHoklch(39.94% 0.079 136.2)
XYZxyz(4.6260, 6.7158, 2.7213)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335124 #422451
analogous
#495124 #335124 #24512B
triadic
#335124 #243351 #512433
tetradic
#335124 #244951 #422451 #512B24
square
#335124 #244951 #422451 #512B24
split-complementary
#335124 #2B2451 #512449
monochromatic
#0D1509 #182711 #335124 #4E7B37 #68A64A

Accessibility & contrast

On white

8.96
#335124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#335124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335124
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335124#FFFFFF#000000##FFFFFF
##3351241.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#324E47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #335124;
/* rgb */ color: rgb(51, 81, 36);
/* oklch */ color: oklch(39.9% 0.079 136.2);
Tailwind
colors: {
  custom: {
    50: '#6c8260',
    500: '#335124',
    950: '#000000',
  },
}
SCSS
$custom: #335124;
$custom-light: #6c8260;
$custom-dark: #000000;
JSON
{
  "hex": "#335124",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 100,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.07895,
    "h": 136.2
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#335124
secondary
#724C85
accent
#59CEA7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A05
muted
#7A7C79

Preview Lab

Preview with #335124

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

Preview Lab → · Contrast checker → · Palette generator →

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