#34942B#34942B

#34942B is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.167 H 141.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#34942B
RGBrgb(52, 148, 43)
HSLhsl(115, 55%, 37%)
HSVhsv(115, 71%, 58%)
CMYKcmyk(64.9%, 0%, 70.9%, 42%)
CIE-LABlab(54.12, -48.35, 45.24)
CIE-LCHlch(54.12, 66.21, 136.90°)
OKLaboklab(58.85% -0.1318 0.1034)
OKLCHoklch(58.85% 0.167 141.9)
XYZxyz(12.4415, 22.0831, 5.8918)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34942B #8B2B94
analogous
#69942B #34942B #2B9456
triadic
#34942B #2B3494 #942B34
tetradic
#34942B #2B6994 #8B2B94 #94562B
square
#34942B #2B6994 #8B2B94 #94562B
split-complementary
#34942B #562B94 #942B69
monochromatic
#13350F #23651D #34942B #45C339 #70D367

Accessibility & contrast

On white

3.88
#34942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#34942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34942B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34942B#FFFFFF#000000##000000
##34942B1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861B
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#228F7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #34942b;
/* rgb */ color: rgb(52, 148, 43);
/* oklch */ color: oklch(58.8% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#78b46a',
    500: '#34942b',
    950: '#000000',
  },
}
SCSS
$custom: #34942b;
$custom-light: #78b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#34942b",
  "rgb": {
    "r": 52,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 114.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.16749,
    "h": 141.9
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#34942B
secondary
#B262B9
accent
#49DED2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34942B

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

Preview Lab → · Contrast checker → · Palette generator →

#34942B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva