#34861B#34861B

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

Color values

HEX#34861B
RGBrgb(52, 134, 27)
HSLhsl(106, 66%, 32%)
HSVhsv(106, 80%, 53%)
CMYKcmyk(61.2%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.32, -44.44, 46.42)
CIE-LCHlch(49.32, 64.27, 133.75°)
OKLaboklab(54.85% -0.1222 0.1036)
OKLCHoklch(54.85% 0.16 139.7)
XYZxyz(10.1387, 17.8585, 3.9494)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34861B #6D1B86
analogous
#6A861B #34861B #1B8637
triadic
#34861B #1B3486 #861B34
tetradic
#34861B #1B6A86 #6D1B86 #86371B
square
#34861B #1B6A86 #6D1B86 #86371B
split-complementary
#34861B #371B86 #861B6A
monochromatic
#0C2006 #205311 #34861B #48B925 #66D942

Accessibility & contrast

On white

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

On black

4.57
#34861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##34861B#FFFFFF#000000##FFFFFF
##34861B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#2A8172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #34861b;
/* rgb */ color: rgb(52, 134, 27);
/* oklch */ color: oklch(54.8% 0.160 139.7);
Tailwind
colors: {
  custom: {
    50: '#76aa60',
    500: '#34861b',
    950: '#000000',
  },
}
SCSS
$custom: #34861b;
$custom-light: #76aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#34861b",
  "rgb": {
    "r": 52,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 105.981,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.16017,
    "h": 139.7
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#34861B
secondary
#9E44B9
accent
#3EE9C1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34861B

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

Preview Lab → · Contrast checker → · Palette generator →

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