#34851F#34851F

#34851F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.157 H 140.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#34851F
RGBrgb(52, 133, 31)
HSLhsl(108, 62%, 32%)
HSVhsv(108, 77%, 52%)
CMYKcmyk(60.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(49.01, -43.78, 44.70)
CIE-LCHlch(49.01, 62.57, 134.40°)
OKLaboklab(54.6% -0.1201 0.1006)
OKLCHoklch(54.6% 0.157 140.1)
XYZxyz(10.0506, 17.6031, 4.1642)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34851F #701F85
analogous
#67851F #34851F #1F853D
triadic
#34851F #1F3485 #851F34
tetradic
#34851F #1F6785 #701F85 #853D1F
square
#34851F #1F6785 #701F85 #853D1F
split-complementary
#34851F #3D1F85 #851F67
monochromatic
#0D2208 #215313 #34851F #47B72B #66D54A

Accessibility & contrast

On white

4.65
#34851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#34851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #34851F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34851F#FFFFFF#000000##FFFFFF
##34851F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34851f;
/* rgb */ color: rgb(52, 133, 31);
/* oklch */ color: oklch(54.6% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#76a962',
    500: '#34851f',
    950: '#000000',
  },
}
SCSS
$custom: #34851f;
$custom-light: #76a962;
$custom-dark: #000000;
JSON
{
  "hex": "#34851f",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 107.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.1567,
    "h": 140.1
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#34851F
secondary
#A049B7
accent
#43E5C4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34851F

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

Preview Lab → · Contrast checker → · Palette generator →

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