#334D2D#334D2D

#334D2D is a dark, moderate green. Relative luminance 0.062; OKLCH L 39.0% C 0.061 H 139.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#334D2D
RGBrgb(51, 77, 45)
HSLhsl(109, 26%, 24%)
HSVhsv(109, 42%, 30%)
CMYKcmyk(33.8%, 0%, 41.6%, 69.8%)
CIE-LABlab(29.91, -17.12, 15.92)
CIE-LCHlch(29.91, 23.38, 137.08°)
OKLaboklab(38.98% -0.0467 0.0395)
OKLCHoklch(38.98% 0.061 139.8)
XYZxyz(4.4926, 6.2008, 3.4423)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D2D #472D4D
analogous
#434D2D #334D2D #2D4D37
triadic
#334D2D #2D334D #4D2D33
tetradic
#334D2D #2D434D #472D4D #4D372D
square
#334D2D #2D434D #472D4D #4D372D
split-complementary
#334D2D #372D4D #4D2D43
monochromatic
#0D130B #192616 #334D2D #4D7444 #669A5A

Accessibility & contrast

On white

9.37
#334D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#334D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D2D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D2D#FFFFFF#000000##FFFFFF
##334D2D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#314B45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d2d;
/* rgb */ color: rgb(51, 77, 45);
/* oklch */ color: oklch(39.0% 0.061 139.8);
Tailwind
colors: {
  custom: {
    50: '#6c7f66',
    500: '#334d2d',
    950: '#000000',
  },
}
SCSS
$custom: #334d2d;
$custom-light: #6c7f66;
$custom-dark: #000000;
JSON
{
  "hex": "#334d2d",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 108.75,
    "s": 26.23,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.06118,
    "h": 139.8
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#334D2D
secondary
#77577F
accent
#65C3B1
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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