#34701C#34701C

#34701C is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.132 H 138.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#34701C
RGBrgb(52, 112, 28)
HSLhsl(103, 60%, 27%)
HSVhsv(103, 75%, 44%)
CMYKcmyk(53.6%, 0%, 75%, 56.1%)
CIE-LABlab(41.85, -35.65, 38.66)
CIE-LCHlch(41.85, 52.59, 132.68°)
OKLaboklab(48.68% -0.0984 0.0875)
OKLCHoklch(48.68% 0.132 138.3)
XYZxyz(7.4197, 12.4017, 3.1012)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34701C #581C70
analogous
#5E701C #34701C #1C702E
triadic
#34701C #1C3470 #701C34
tetradic
#34701C #1C5E70 #581C70 #702E1C
square
#34701C #1C5E70 #581C70 #702E1C
split-complementary
#34701C #2E1C70 #701C5E
monochromatic
#0B1806 #1D3F10 #34701C #4BA128 #63CD39

Accessibility & contrast

On white

6.03
#34701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#34701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34701C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34701C#FFFFFF#000000##FFFFFF
##34701C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#2F6C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #34701c;
/* rgb */ color: rgb(52, 112, 28);
/* oklch */ color: oklch(48.7% 0.132 138.3);
Tailwind
colors: {
  custom: {
    50: '#729a5e',
    500: '#34701c',
    950: '#000000',
  },
}
SCSS
$custom: #34701c;
$custom-light: #729a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34701c",
  "rgb": {
    "r": 52,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 102.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.1317,
    "h": 138.3
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#34701C
secondary
#8943A5
accent
#45E3B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34701C

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

Preview Lab → · Contrast checker → · Palette generator →

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