#334C2F#334C2F

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

Color values

HEX#334C2F
RGBrgb(51, 76, 47)
HSLhsl(112, 24%, 24%)
HSVhsv(112, 38%, 30%)
CMYKcmyk(32.9%, 0%, 38.2%, 70.2%)
CIE-LABlab(29.61, -16.21, 14.28)
CIE-LCHlch(29.61, 21.60, 138.61°)
OKLaboklab(38.75% -0.0442 0.0357)
OKLCHoklch(38.75% 0.057 141.1)
XYZxyz(4.4626, 6.0778, 3.6268)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C2F #482F4C
analogous
#424C2F #334C2F #2F4C3A
triadic
#334C2F #2F334C #4C2F33
tetradic
#334C2F #2F424C #482F4C #4C3A2F
square
#334C2F #2F424C #482F4C #4C3A2F
split-complementary
#334C2F #3A2F4C #4C2F42
monochromatic
#0D130C #1A2618 #334C2F #4C7246 #66985E

Accessibility & contrast

On white

9.48
#334C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#334C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C2F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C2F#FFFFFF#000000##FFFFFF
##334C2F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#314A45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334c2f;
/* rgb */ color: rgb(51, 76, 47);
/* oklch */ color: oklch(38.7% 0.057 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b7e67',
    500: '#334c2f',
    950: '#000000',
  },
}
SCSS
$custom: #334c2f;
$custom-light: #6b7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#334c2f",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 111.724,
    "s": 23.577,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.05681,
    "h": 141.1
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#334C2F
secondary
#785A7D
accent
#68C0B4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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