#334A2E#334A2E

#334A2E is a dark, muted green. Relative luminance 0.058; OKLCH L 38.2% C 0.054 H 140.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#334A2E
RGBrgb(51, 74, 46)
HSLhsl(109, 23%, 24%)
HSVhsv(109, 38%, 29%)
CMYKcmyk(31.1%, 0%, 37.8%, 71%)
CIE-LABlab(28.90, -15.27, 13.96)
CIE-LCHlch(28.90, 20.69, 137.56°)
OKLaboklab(38.17% -0.0416 0.0349)
OKLCHoklch(38.17% 0.054 140)
XYZxyz(4.3070, 5.7985, 3.4765)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A2E #452E4A
analogous
#414A2E #334A2E #2E4A37
triadic
#334A2E #2E334A #4A2E33
tetradic
#334A2E #2E414A #452E4A #4A372E
square
#334A2E #2E414A #452E4A #4A372E
split-complementary
#334A2E #372E4A #4A2E41
monochromatic
#0D130C #192417 #334A2E #4D7045 #67955D

Accessibility & contrast

On white

9.72
#334A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334A2E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A2E#FFFFFF#000000##FFFFFF
##334A2E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452C
Deuteranopia (green-blind)
#484330
Tritanopia (blue-blind)
#324843
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334a2e;
/* rgb */ color: rgb(51, 74, 46);
/* oklch */ color: oklch(38.2% 0.054 140.0);
Tailwind
colors: {
  custom: {
    50: '#6b7c67',
    500: '#334a2e',
    950: '#000000',
  },
}
SCSS
$custom: #334a2e;
$custom-light: #6b7c67;
$custom-dark: #000000;
JSON
{
  "hex": "#334a2e",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 109.286,
    "s": 23.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.05433,
    "h": 140
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#334A2E
secondary
#75597B
accent
#68C0B0
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070906
muted
#7A7B7A

Preview Lab

Preview with #334A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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