#334C2E#334C2E

#334C2E is a dark, muted green. Relative luminance 0.061; OKLCH L 38.7% C 0.058 H 140.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#334C2E
RGBrgb(51, 76, 46)
HSLhsl(110, 25%, 24%)
HSVhsv(110, 39%, 30%)
CMYKcmyk(32.9%, 0%, 39.5%, 70.2%)
CIE-LABlab(29.59, -16.39, 14.88)
CIE-LCHlch(29.59, 22.13, 137.77°)
OKLaboklab(38.73% -0.0447 0.0371)
OKLCHoklch(38.73% 0.058 140.3)
XYZxyz(4.4427, 6.0698, 3.5217)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C2E #472E4C
analogous
#424C2E #334C2E #2E4C38
triadic
#334C2E #2E334C #4C2E33
tetradic
#334C2E #2E424C #472E4C #4C382E
square
#334C2E #2E424C #472E4C #4C382E
split-complementary
#334C2E #382E4C #4C2E42
monochromatic
#0D130C #192617 #334C2E #4D7245 #66985C

Accessibility & contrast

On white

9.49
#334C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#334C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C2E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C2E#FFFFFF#000000##FFFFFF
##334C2E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#314A44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334c2e;
/* rgb */ color: rgb(51, 76, 46);
/* oklch */ color: oklch(38.7% 0.058 140.3);
Tailwind
colors: {
  custom: {
    50: '#6b7e67',
    500: '#334c2e',
    950: '#000000',
  },
}
SCSS
$custom: #334c2e;
$custom-light: #6b7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#334c2e",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 110,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.05807,
    "h": 140.3
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#334C2E
secondary
#77597D
accent
#67C1B2
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#334C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva