#34731C#34731C

#34731C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.136 H 138.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#34731C
RGBrgb(52, 115, 28)
HSLhsl(103, 61%, 28%)
HSVhsv(103, 76%, 45%)
CMYKcmyk(54.8%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.88, -36.90, 39.70)
CIE-LCHlch(42.88, 54.20, 132.90°)
OKLaboklab(49.53% -0.1018 0.0897)
OKLCHoklch(49.53% 0.136 138.6)
XYZxyz(7.7562, 13.0748, 3.2133)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34731C #5B1C73
analogous
#5F731C #34731C #1C732F
triadic
#34731C #1C3473 #731C34
tetradic
#34731C #1C5F73 #5B1C73 #732F1C
square
#34731C #1C5F73 #5B1C73 #732F1C
split-complementary
#34731C #2F1C73 #731C5F
monochromatic
#0B1906 #1E4210 #34731C #4AA428 #63CF3A

Accessibility & contrast

On white

5.81
#34731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34731C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34731C#FFFFFF#000000##FFFFFF
##34731C1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6F6325
Tritanopia (blue-blind)
#2F6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #34731c;
/* rgb */ color: rgb(52, 115, 28);
/* oklch */ color: oklch(49.5% 0.136 138.6);
Tailwind
colors: {
  custom: {
    50: '#739c5e',
    500: '#34731c',
    950: '#000000',
  },
}
SCSS
$custom: #34731c;
$custom-light: #739c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34731c",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 103.448,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.13568,
    "h": 138.6
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#34731C
secondary
#8C43A7
accent
#44E4B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34731C

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

Preview Lab → · Contrast checker → · Palette generator →

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