#34791A#34791A

#34791A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#34791A
RGBrgb(52, 121, 26)
HSLhsl(104, 65%, 29%)
HSVhsv(104, 79%, 47%)
CMYKcmyk(57%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.91, -39.48, 42.49)
CIE-LCHlch(44.91, 58.01, 132.90°)
OKLaboklab(51.2% -0.1089 0.0953)
OKLCHoklch(51.2% 0.145 138.8)
XYZxyz(8.4397, 14.4787, 3.3270)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34791A #5F1A79
analogous
#64791A #34791A #1A7930
triadic
#34791A #1A3479 #791A34
tetradic
#34791A #1A6479 #5F1A79 #79301A
square
#34791A #1A6479 #5F1A79 #79301A
split-complementary
#34791A #301A79 #791A64
monochromatic
#0B1905 #1E470F #34791A #4AAB25 #64D439

Accessibility & contrast

On white

5.39
#34791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#34791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34791A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34791A#FFFFFF#000000##FFFFFF
##34791A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#2D7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #34791a;
/* rgb */ color: rgb(52, 121, 26);
/* oklch */ color: oklch(51.2% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#74a05e',
    500: '#34791a',
    950: '#000000',
  },
}
SCSS
$custom: #34791a;
$custom-light: #74a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#34791a",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 103.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.14466,
    "h": 138.8
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#34791A
secondary
#9041AD
accent
#40E8BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #34791A

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

Preview Lab → · Contrast checker → · Palette generator →

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