#34841F#34841F

#34841F is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.155 H 140.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#34841F
RGBrgb(52, 132, 31)
HSLhsl(108, 62%, 32%)
HSVhsv(108, 77%, 52%)
CMYKcmyk(60.6%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.67, -43.40, 44.37)
CIE-LCHlch(48.67, 62.07, 134.37°)
OKLaboklab(54.32% -0.1191 0.0999)
OKLCHoklch(54.32% 0.155 140)
XYZxyz(9.9143, 17.3306, 4.1187)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34841F #6F1F84
analogous
#67841F #34841F #1F843D
triadic
#34841F #1F3484 #841F34
tetradic
#34841F #1F6784 #6F1F84 #843D1F
square
#34841F #1F6784 #6F1F84 #843D1F
split-complementary
#34841F #3D1F84 #841F67
monochromatic
#0D2108 #205213 #34841F #48B62B #66D449

Accessibility & contrast

On white

4.70
#34841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#34841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34841F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34841F#FFFFFF#000000##FFFFFF
##34841F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#2A8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34841f;
/* rgb */ color: rgb(52, 132, 31);
/* oklch */ color: oklch(54.3% 0.155 140.0);
Tailwind
colors: {
  custom: {
    50: '#76a862',
    500: '#34841f',
    950: '#000000',
  },
}
SCSS
$custom: #34841f;
$custom-light: #76a862;
$custom-dark: #000000;
JSON
{
  "hex": "#34841f",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 107.525,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.15547,
    "h": 140
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#34841F
secondary
#A048B7
accent
#43E5C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34841F

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

Preview Lab → · Contrast checker → · Palette generator →

#34841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva