#34701A#34701A

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

Color values

HEX#34701A
RGBrgb(52, 112, 26)
HSLhsl(102, 62%, 27%)
HSVhsv(102, 77%, 44%)
CMYKcmyk(53.6%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.83, -35.81, 39.45)
CIE-LCHlch(41.83, 53.28, 132.24°)
OKLaboklab(48.67% -0.099 0.0889)
OKLCHoklch(48.67% 0.133 138.1)
XYZxyz(7.3965, 12.3924, 2.9793)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34701A #561A70
analogous
#5F701A #34701A #1A702B
triadic
#34701A #1A3470 #701A34
tetradic
#34701A #1A5F70 #561A70 #702B1A
square
#34701A #1A5F70 #561A70 #702B1A
split-complementary
#34701A #2B1A70 #701A5F
monochromatic
#0C1906 #1D3E0E #34701A #4BA226 #63D034

Accessibility & contrast

On white

6.04
#34701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34701A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34701A#FFFFFF#000000##FFFFFF
##34701A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#2F6C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #34701a;
/* rgb */ color: rgb(52, 112, 26);
/* oklch */ color: oklch(48.7% 0.133 138.1);
Tailwind
colors: {
  custom: {
    50: '#729a5d',
    500: '#34701a',
    950: '#000000',
  },
}
SCSS
$custom: #34701a;
$custom-light: #729a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#34701a",
  "rgb": {
    "r": 52,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 101.86,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.13303,
    "h": 138.1
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#34701A
secondary
#8741A5
accent
#42E5B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #34701A

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

Preview Lab → · Contrast checker → · Palette generator →

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