#34861F#34861F

#34861F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.158 H 140.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#34861F
RGBrgb(52, 134, 31)
HSLhsl(108, 62%, 32%)
HSVhsv(108, 77%, 53%)
CMYKcmyk(61.2%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.35, -44.16, 45.04)
CIE-LCHlch(49.35, 63.08, 134.43°)
OKLaboklab(54.87% -0.1212 0.1013)
OKLCHoklch(54.87% 0.158 140.1)
XYZxyz(10.1881, 17.8783, 4.2100)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34861F #711F86
analogous
#68861F #34861F #1F863E
triadic
#34861F #1F3486 #861F34
tetradic
#34861F #1F6886 #711F86 #863E1F
square
#34861F #1F6886 #711F86 #863E1F
split-complementary
#34861F #3E1F86 #861F68
monochromatic
#0D2308 #215414 #34861F #47B82A #67D54A

Accessibility & contrast

On white

4.59
#34861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#34861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #34861F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34861F#FFFFFF#000000##FFFFFF
##34861F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#298172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #34861f;
/* rgb */ color: rgb(52, 134, 31);
/* oklch */ color: oklch(54.9% 0.158 140.1);
Tailwind
colors: {
  custom: {
    50: '#76aa62',
    500: '#34861f',
    950: '#000000',
  },
}
SCSS
$custom: #34861f;
$custom-light: #76aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#34861f",
  "rgb": {
    "r": 52,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 107.767,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.15794,
    "h": 140.1
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#34861F
secondary
#A149B8
accent
#42E5C4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34861F

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

Preview Lab → · Contrast checker → · Palette generator →

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