#34731B#34731B

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

Color values

HEX#34731B
RGBrgb(52, 115, 27)
HSLhsl(103, 62%, 28%)
HSVhsv(103, 77%, 45%)
CMYKcmyk(54.8%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.87, -36.98, 40.09)
CIE-LCHlch(42.87, 54.54, 132.69°)
OKLaboklab(49.52% -0.1021 0.0904)
OKLCHoklch(49.52% 0.136 138.5)
XYZxyz(7.7445, 13.0701, 3.1514)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34731B #5A1B73
analogous
#60731B #34731B #1B732E
triadic
#34731B #1B3473 #731B34
tetradic
#34731B #1B6073 #5A1B73 #732E1B
square
#34731B #1B6073 #5A1B73 #732E1B
split-complementary
#34731B #2E1B73 #731B60
monochromatic
#0B1906 #1E410F #34731B #4AA527 #63D038

Accessibility & contrast

On white

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

On black

3.61
#34731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##34731B#FFFFFF#000000##FFFFFF
##34731B1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77680A
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#2F6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #34731b;
/* rgb */ color: rgb(52, 115, 27);
/* oklch */ color: oklch(49.5% 0.136 138.5);
Tailwind
colors: {
  custom: {
    50: '#739c5e',
    500: '#34731b',
    950: '#000000',
  },
}
SCSS
$custom: #34731b;
$custom-light: #739c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34731b",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 102.955,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.13633,
    "h": 138.5
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#34731B
secondary
#8B42A8
accent
#43E5B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34731B

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

Preview Lab → · Contrast checker → · Palette generator →

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