#34861C#34861C

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

Color values

HEX#34861C
RGBrgb(52, 134, 28)
HSLhsl(106, 65%, 32%)
HSVhsv(106, 79%, 53%)
CMYKcmyk(61.2%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.33, -44.37, 46.09)
CIE-LCHlch(49.33, 63.98, 133.91°)
OKLaboklab(54.85% -0.1219 0.1031)
OKLCHoklch(54.85% 0.16 139.8)
XYZxyz(10.1504, 17.8632, 4.0114)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34861C #6E1C86
analogous
#69861C #34861C #1C8639
triadic
#34861C #1C3486 #861C34
tetradic
#34861C #1C6986 #6E1C86 #86391C
square
#34861C #1C6986 #6E1C86 #86391C
split-complementary
#34861C #391C86 #861C69
monochromatic
#0D2107 #205311 #34861C #48B927 #66D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34861C#FFFFFF#000000##FFFFFF
##34861C1.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)
#8A7902
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#2A8172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #34861c;
/* rgb */ color: rgb(52, 134, 28);
/* oklch */ color: oklch(54.9% 0.160 139.8);
Tailwind
colors: {
  custom: {
    50: '#76aa61',
    500: '#34861c',
    950: '#000000',
  },
}
SCSS
$custom: #34861c;
$custom-light: #76aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#34861c",
  "rgb": {
    "r": 52,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 106.415,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.15964,
    "h": 139.8
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#34861C
secondary
#9F45B9
accent
#3FE8C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34861C

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

Preview Lab → · Contrast checker → · Palette generator →

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