#34751B#34751B

#34751B is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.139 H 138.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#34751B
RGBrgb(52, 117, 27)
HSLhsl(103, 63%, 28%)
HSVhsv(103, 77%, 46%)
CMYKcmyk(55.6%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.55, -37.80, 40.78)
CIE-LCHlch(43.55, 55.60, 132.83°)
OKLaboklab(50.08% -0.1043 0.0918)
OKLCHoklch(50.08% 0.139 138.6)
XYZxyz(7.9750, 13.5311, 3.2282)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34751B #5C1B75
analogous
#61751B #34751B #1B752F
triadic
#34751B #1B3475 #751B34
tetradic
#34751B #1B6175 #5C1B75 #752F1B
square
#34751B #1B6175 #5C1B75 #752F1B
split-complementary
#34751B #2F1B75 #751B61
monochromatic
#0B1906 #1E4310 #34751B #4AA726 #63D139

Accessibility & contrast

On white

5.67
#34751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#34751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34751B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34751B#FFFFFF#000000##FFFFFF
##34751B1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A09
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#2E7164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #34751b;
/* rgb */ color: rgb(52, 117, 27);
/* oklch */ color: oklch(50.1% 0.139 138.6);
Tailwind
colors: {
  custom: {
    50: '#739d5e',
    500: '#34751b',
    950: '#000000',
  },
}
SCSS
$custom: #34751b;
$custom-light: #739d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34751b",
  "rgb": {
    "r": 52,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 103.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.13893,
    "h": 138.6
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#34751B
secondary
#8D42A9
accent
#42E6B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #34751B

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

Preview Lab → · Contrast checker → · Palette generator →

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