#34671B#34671B

#34671B is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.120 H 137.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#34671B
RGBrgb(52, 103, 27)
HSLhsl(100, 58%, 25%)
HSVhsv(100, 74%, 40%)
CMYKcmyk(49.5%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.74, -31.86, 35.88)
CIE-LCHlch(38.74, 47.99, 131.60°)
OKLaboklab(46.13% -0.0882 0.0816)
OKLCHoklch(46.13% 0.12 137.2)
XYZxyz(6.4641, 10.5093, 2.7246)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34671B #4E1B67
analogous
#5A671B #34671B #1B6728
triadic
#34671B #1B3467 #671B34
tetradic
#34671B #1B5A67 #4E1B67 #67281B
square
#34671B #1B5A67 #4E1B67 #67281B
split-complementary
#34671B #281B67 #671B5A
monochromatic
#0C1806 #1C370E #34671B #4C9728 #65C834

Accessibility & contrast

On white

6.77
#34671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#34671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34671B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34671B#FFFFFF#000000##FFFFFF
##34671B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0F
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#316358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #34671b;
/* rgb */ color: rgb(52, 103, 27);
/* oklch */ color: oklch(46.1% 0.120 137.2);
Tailwind
colors: {
  custom: {
    50: '#71935c',
    500: '#34671b',
    950: '#000000',
  },
}
SCSS
$custom: #34671b;
$custom-light: #71935c;
$custom-dark: #000000;
JSON
{
  "hex": "#34671b",
  "rgb": {
    "r": 52,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 100.263,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.12017,
    "h": 137.2
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#34671B
secondary
#7E429C
accent
#46E2AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #34671B

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

Preview Lab → · Contrast checker → · Palette generator →

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