#334F2E#334F2E

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

Color values

HEX#334F2E
RGBrgb(51, 79, 46)
HSLhsl(111, 26%, 25%)
HSVhsv(111, 42%, 31%)
CMYKcmyk(35.4%, 0%, 41.8%, 69%)
CIE-LABlab(30.62, -18.04, 16.24)
CIE-LCHlch(30.62, 24.27, 138.00°)
OKLaboklab(39.56% -0.0492 0.0403)
OKLCHoklch(39.56% 0.064 140.7)
XYZxyz(4.6542, 6.4928, 3.5923)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F2E #4A2E4F
analogous
#444F2E #334F2E #2E4F3A
triadic
#334F2E #2E334F #4F2E33
tetradic
#334F2E #2E444F #4A2E4F #4F3A2E
square
#334F2E #2E444F #4A2E4F #4F3A2E
split-complementary
#334F2E #3A2E4F #4F2E44
monochromatic
#0C130B #1A2817 #334F2E #4C7645 #659C5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334F2E#FFFFFF#000000##FFFFFF
##334F2E1.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)
#514A2C
Deuteranopia (green-blind)
#4C4730
Tritanopia (blue-blind)
#314D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #334f2e;
/* rgb */ color: rgb(51, 79, 46);
/* oklch */ color: oklch(39.6% 0.064 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c8067',
    500: '#334f2e',
    950: '#000000',
  },
}
SCSS
$custom: #334f2e;
$custom-light: #6c8067;
$custom-dark: #000000;
JSON
{
  "hex": "#334f2e",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 110.909,
    "s": 26.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.06359,
    "h": 140.7
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#334F2E
secondary
#7A5880
accent
#65C3B5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #334F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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