#335129#335129

#335129 is a dark, moderate green. Relative luminance 0.067; OKLCH L 40.0% C 0.073 H 138.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#335129
RGBrgb(51, 81, 41)
HSLhsl(105, 33%, 24%)
HSVhsv(105, 49%, 32%)
CMYKcmyk(37%, 0%, 49.4%, 68.2%)
CIE-LABlab(31.23, -19.94, 20.02)
CIE-LCHlch(31.23, 28.26, 134.89°)
OKLaboklab(40.03% -0.0546 0.0487)
OKLCHoklch(40.03% 0.073 138.3)
XYZxyz(4.7078, 6.7486, 3.1519)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335129 #472951
analogous
#475129 #335129 #295133
triadic
#335129 #293351 #512933
tetradic
#335129 #294751 #472951 #513329
square
#335129 #294751 #472951 #513329
split-complementary
#335129 #332951 #512947
monochromatic
#0D140A #192814 #335129 #4D7A3E #66A252

Accessibility & contrast

On white

8.94
#335129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#335129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335129
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335129#FFFFFF#000000##FFFFFF
##3351291.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#314F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #335129;
/* rgb */ color: rgb(51, 81, 41);
/* oklch */ color: oklch(40.0% 0.073 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c8263',
    500: '#335129',
    950: '#000000',
  },
}
SCSS
$custom: #335129;
$custom-light: #6c8263;
$custom-dark: #000000;
JSON
{
  "hex": "#335129",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 105,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.07321,
    "h": 138.3
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#335129
secondary
#775283
accent
#5FC9AE
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#070A05
muted
#7A7C79

Preview Lab

Preview with #335129

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

Preview Lab → · Contrast checker → · Palette generator →

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