#334F2D#334F2D

#334F2D is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.065 H 140.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#334F2D
RGBrgb(51, 79, 45)
HSLhsl(109, 27%, 24%)
HSVhsv(109, 43%, 31%)
CMYKcmyk(35.4%, 0%, 43%, 69%)
CIE-LABlab(30.60, -18.21, 16.82)
CIE-LCHlch(30.60, 24.79, 137.27°)
OKLaboklab(39.54% -0.0497 0.0416)
OKLCHoklch(39.54% 0.065 140.1)
XYZxyz(4.6347, 6.4850, 3.4897)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F2D #492D4F
analogous
#444F2D #334F2D #2D4F38
triadic
#334F2D #2D334F #4F2D33
tetradic
#334F2D #2D444F #492D4F #4F382D
square
#334F2D #2D444F #492D4F #4F382D
split-complementary
#334F2D #382D4F #4F2D44
monochromatic
#0D130B #1A2817 #334F2D #4C7643 #659D59

Accessibility & contrast

On white

9.14
#334F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#334F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F2D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F2D#FFFFFF#000000##FFFFFF
##334F2D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2B
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#314D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #334f2d;
/* rgb */ color: rgb(51, 79, 45);
/* oklch */ color: oklch(39.5% 0.065 140.1);
Tailwind
colors: {
  custom: {
    50: '#6c8066',
    500: '#334f2d',
    950: '#000000',
  },
}
SCSS
$custom: #334f2d;
$custom-light: #6c8066;
$custom-dark: #000000;
JSON
{
  "hex": "#334f2d",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 109.412,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.06483,
    "h": 140.1
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#334F2D
secondary
#795781
accent
#64C4B3
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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