#334A2D#334A2D

#334A2D is a dark, muted green. Relative luminance 0.058; OKLCH L 38.1% C 0.056 H 139.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#334A2D
RGBrgb(51, 74, 45)
HSLhsl(108, 24%, 23%)
HSVhsv(108, 39%, 29%)
CMYKcmyk(31.1%, 0%, 39.2%, 71%)
CIE-LABlab(28.88, -15.45, 14.56)
CIE-LCHlch(28.88, 21.23, 136.71°)
OKLaboklab(38.15% -0.0421 0.0363)
OKLCHoklch(38.15% 0.056 139.3)
XYZxyz(4.2875, 5.7907, 3.3739)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A2D #442D4A
analogous
#414A2D #334A2D #2D4A35
triadic
#334A2D #2D334A #4A2D33
tetradic
#334A2D #2D414A #442D4A #4A352D
square
#334A2D #2D414A #442D4A #4A352D
split-complementary
#334A2D #352D4A #4A2D41
monochromatic
#0D130C #192416 #334A2D #4D7044 #67965B

Accessibility & contrast

On white

9.73
#334A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#334A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A2D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A2D#FFFFFF#000000##FFFFFF
##334A2D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452B
Deuteranopia (green-blind)
#48432F
Tritanopia (blue-blind)
#324843
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334a2d;
/* rgb */ color: rgb(51, 74, 45);
/* oklch */ color: oklch(38.1% 0.056 139.3);
Tailwind
colors: {
  custom: {
    50: '#6b7c66',
    500: '#334a2d',
    950: '#000000',
  },
}
SCSS
$custom: #334a2d;
$custom-light: #6b7c66;
$custom-dark: #000000;
JSON
{
  "hex": "#334a2d",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 107.586,
    "s": 24.37,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.05561,
    "h": 139.3
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#334A2D
secondary
#74577B
accent
#67C1AE
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070906
muted
#7A7B7A

Preview Lab

Preview with #334A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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