#34721F#34721F

#34721F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.132 H 138.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#34721F
RGBrgb(52, 114, 31)
HSLhsl(105, 57%, 28%)
HSVhsv(105, 73%, 45%)
CMYKcmyk(54.4%, 0%, 72.8%, 55.3%)
CIE-LABlab(42.56, -36.23, 38.14)
CIE-LCHlch(42.56, 52.60, 133.53°)
OKLaboklab(49.27% -0.0998 0.0869)
OKLCHoklch(49.27% 0.132 138.9)
XYZxyz(7.6805, 12.8630, 3.3741)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34721F #5D1F72
analogous
#5D721F #34721F #1F7233
triadic
#34721F #1F3472 #721F34
tetradic
#34721F #1F5D72 #5D1F72 #72331F
square
#34721F #1F5D72 #5D1F72 #72331F
split-complementary
#34721F #331F72 #721F5D
monochromatic
#0B1807 #1E4212 #34721F #4AA22C #63CB40

Accessibility & contrast

On white

5.88
#34721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#34721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34721F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34721F#FFFFFF#000000##FFFFFF
##34721F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #34721f;
/* rgb */ color: rgb(52, 114, 31);
/* oklch */ color: oklch(49.3% 0.132 138.9);
Tailwind
colors: {
  custom: {
    50: '#729b60',
    500: '#34721f',
    950: '#000000',
  },
}
SCSS
$custom: #34721f;
$custom-light: #729b60;
$custom-dark: #000000;
JSON
{
  "hex": "#34721f",
  "rgb": {
    "r": 52,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 104.819,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.13229,
    "h": 138.9
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#34721F
secondary
#8E47A6
accent
#47E0BA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34721F

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

Preview Lab → · Contrast checker → · Palette generator →

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