#34731F#34731F

#34731F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.134 H 139.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#34731F
RGBrgb(52, 115, 31)
HSLhsl(105, 58%, 29%)
HSVhsv(105, 73%, 45%)
CMYKcmyk(54.8%, 0%, 73%, 54.9%)
CIE-LABlab(42.90, -36.65, 38.50)
CIE-LCHlch(42.90, 53.15, 133.59°)
OKLaboklab(49.55% -0.1009 0.0876)
OKLCHoklch(49.55% 0.134 139)
XYZxyz(7.7939, 13.0899, 3.4119)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34731F #5E1F73
analogous
#5E731F #34731F #1F7334
triadic
#34731F #1F3473 #731F34
tetradic
#34731F #1F5E73 #5E1F73 #73341F
square
#34731F #1F5E73 #5E1F73 #73341F
split-complementary
#34731F #341F73 #731F5E
monochromatic
#0B1806 #1E4312 #34731F #4AA32C #63CC41

Accessibility & contrast

On white

5.80
#34731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#34731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34731F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34731F#FFFFFF#000000##FFFFFF
##34731F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#2E6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #34731f;
/* rgb */ color: rgb(52, 115, 31);
/* oklch */ color: oklch(49.6% 0.134 139.0);
Tailwind
colors: {
  custom: {
    50: '#729c60',
    500: '#34731f',
    950: '#000000',
  },
}
SCSS
$custom: #34731f;
$custom-light: #729c60;
$custom-dark: #000000;
JSON
{
  "hex": "#34731f",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 105,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.13363,
    "h": 139
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#34731F
secondary
#8F47A7
accent
#47E1BA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34731F

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

Preview Lab → · Contrast checker → · Palette generator →

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