#334E2D#334E2D

#334E2D is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.3% C 0.063 H 140.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#334E2D
RGBrgb(51, 78, 45)
HSLhsl(109, 27%, 24%)
HSVhsv(109, 42%, 31%)
CMYKcmyk(34.6%, 0%, 42.3%, 69.4%)
CIE-LABlab(30.26, -17.67, 16.37)
CIE-LCHlch(30.26, 24.09, 137.18°)
OKLaboklab(39.26% -0.0482 0.0405)
OKLCHoklch(39.26% 0.063 140)
XYZxyz(4.5631, 6.3419, 3.4658)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E2D #482D4E
analogous
#444E2D #334E2D #2D4E38
triadic
#334E2D #2D334E #4E2D33
tetradic
#334E2D #2D444E #482D4E #4E382D
square
#334E2D #2D444E #482D4E #4E382D
split-complementary
#334E2D #382D4E #4E2D44
monochromatic
#0D130B #1A2717 #334E2D #4C7543 #669C5A

Accessibility & contrast

On white

9.26
#334E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E2D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E2D#FFFFFF#000000##FFFFFF
##334E2D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#314C46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334e2d;
/* rgb */ color: rgb(51, 78, 45);
/* oklch */ color: oklch(39.3% 0.063 140.0);
Tailwind
colors: {
  custom: {
    50: '#6c7f66',
    500: '#334e2d',
    950: '#000000',
  },
}
SCSS
$custom: #334e2d;
$custom-light: #6c7f66;
$custom-dark: #000000;
JSON
{
  "hex": "#334e2d",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 109.091,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.06301,
    "h": 140
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#334E2D
secondary
#785780
accent
#65C3B2
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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