#34711B#34711B

#34711B is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.134 H 138.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#34711B
RGBrgb(52, 113, 27)
HSLhsl(103, 61%, 27%)
HSVhsv(103, 76%, 44%)
CMYKcmyk(54%, 0%, 76.1%, 55.7%)
CIE-LABlab(42.18, -36.15, 39.40)
CIE-LCHlch(42.18, 53.47, 132.54°)
OKLaboklab(48.96% -0.0998 0.0889)
OKLCHoklch(48.96% 0.134 138.3)
XYZxyz(7.5189, 12.6189, 3.0762)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34711B #581B71
analogous
#5F711B #34711B #1B712D
triadic
#34711B #1B3471 #711B34
tetradic
#34711B #1B5F71 #581B71 #712D1B
square
#34711B #1B5F71 #581B71 #712D1B
split-complementary
#34711B #2D1B71 #711B5F
monochromatic
#0B1906 #1D400F #34711B #4BA227 #63CF37

Accessibility & contrast

On white

5.96
#34711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#34711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34711B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34711B#FFFFFF#000000##FFFFFF
##34711B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#2F6D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #34711b;
/* rgb */ color: rgb(52, 113, 27);
/* oklch */ color: oklch(49.0% 0.134 138.3);
Tailwind
colors: {
  custom: {
    50: '#729a5e',
    500: '#34711b',
    950: '#000000',
  },
}
SCSS
$custom: #34711b;
$custom-light: #729a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34711b",
  "rgb": {
    "r": 52,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 102.558,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.1337,
    "h": 138.3
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#34711B
secondary
#8942A6
accent
#43E5B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34711B

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

Preview Lab → · Contrast checker → · Palette generator →

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