#34701F#34701F

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

Color values

HEX#34701F
RGBrgb(52, 112, 31)
HSLhsl(104, 57%, 28%)
HSVhsv(104, 72%, 44%)
CMYKcmyk(53.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.87, -35.39, 37.42)
CIE-LCHlch(41.87, 51.51, 133.40°)
OKLaboklab(48.71% -0.0975 0.0854)
OKLCHoklch(48.71% 0.13 138.8)
XYZxyz(7.4574, 12.4168, 3.2998)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34701F #5B1F70
analogous
#5C701F #34701F #1F7032
triadic
#34701F #1F3470 #701F34
tetradic
#34701F #1F5C70 #5B1F70 #70321F
square
#34701F #1F5C70 #5B1F70 #70321F
split-complementary
#34701F #321F70 #701F5C
monochromatic
#0B1807 #1E4012 #34701F #4AA02C #63CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34701F#FFFFFF#000000##FFFFFF
##34701F1.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)
#736613
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#2F6C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #34701f;
/* rgb */ color: rgb(52, 112, 31);
/* oklch */ color: oklch(48.7% 0.130 138.8);
Tailwind
colors: {
  custom: {
    50: '#729a60',
    500: '#34701f',
    950: '#000000',
  },
}
SCSS
$custom: #34701f;
$custom-light: #729a60;
$custom-dark: #000000;
JSON
{
  "hex": "#34701f",
  "rgb": {
    "r": 52,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 104.444,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.12959,
    "h": 138.8
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#34701F
secondary
#8C47A4
accent
#48E0B9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34701F

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

Preview Lab → · Contrast checker → · Palette generator →

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