#34751A#34751A

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

Color values

HEX#34751A
RGBrgb(52, 117, 26)
HSLhsl(103, 64%, 28%)
HSVhsv(103, 78%, 46%)
CMYKcmyk(55.6%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.55, -37.88, 41.15)
CIE-LCHlch(43.55, 55.93, 132.63°)
OKLaboklab(50.08% -0.1045 0.0924)
OKLCHoklch(50.08% 0.14 138.5)
XYZxyz(7.9636, 13.5266, 3.1683)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34751A #5B1A75
analogous
#61751A #34751A #1A752D
triadic
#34751A #1A3475 #751A34
tetradic
#34751A #1A6175 #5B1A75 #752D1A
square
#34751A #1A6175 #5B1A75 #752D1A
split-complementary
#34751A #2D1A75 #751A61
monochromatic
#0B1906 #1E430F #34751A #4AA725 #63D337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34751A#FFFFFF#000000##FFFFFF
##34751A1.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)
#796A07
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#2E7164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #34751a;
/* rgb */ color: rgb(52, 117, 26);
/* oklch */ color: oklch(50.1% 0.140 138.5);
Tailwind
colors: {
  custom: {
    50: '#739d5e',
    500: '#34751a',
    950: '#000000',
  },
}
SCSS
$custom: #34751a;
$custom-light: #739d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34751a",
  "rgb": {
    "r": 52,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 102.857,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.13955,
    "h": 138.5
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#34751A
secondary
#8C41AA
accent
#41E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #34751A

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

Preview Lab → · Contrast checker → · Palette generator →

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