#334E2E#334E2E

#334E2E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.3% C 0.062 H 140.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#334E2E
RGBrgb(51, 78, 46)
HSLhsl(111, 26%, 24%)
HSVhsv(111, 41%, 31%)
CMYKcmyk(34.6%, 0%, 41%, 69.4%)
CIE-LABlab(30.28, -17.49, 15.79)
CIE-LCHlch(30.28, 23.56, 137.93°)
OKLaboklab(39.28% -0.0477 0.0392)
OKLCHoklch(39.28% 0.062 140.6)
XYZxyz(4.5826, 6.3497, 3.5684)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E2E #492E4E
analogous
#434E2E #334E2E #2E4E39
triadic
#334E2E #2E334E #4E2E33
tetradic
#334E2E #2E434E #492E4E #4E392E
square
#334E2E #2E434E #492E4E #4E392E
split-complementary
#334E2E #392E4E #4E2E43
monochromatic
#0D130B #1A2817 #334E2E #4C7445 #659B5B

Accessibility & contrast

On white

9.25
#334E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334E2E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E2E#FFFFFF#000000##FFFFFF
##334E2E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334e2e;
/* rgb */ color: rgb(51, 78, 46);
/* oklch */ color: oklch(39.3% 0.062 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c7f67',
    500: '#334e2e',
    950: '#000000',
  },
}
SCSS
$custom: #334e2e;
$custom-light: #6c7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#334e2e",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 46
  },
  "hsl": {
    "h": 110.625,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.06176,
    "h": 140.6
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#334E2E
secondary
#79587F
accent
#66C2B4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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