#34781A#34781A

#34781A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.143 H 138.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#34781A
RGBrgb(52, 120, 26)
HSLhsl(103, 64%, 29%)
HSVhsv(103, 78%, 47%)
CMYKcmyk(56.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.57, -39.09, 42.16)
CIE-LCHlch(44.57, 57.49, 132.83°)
OKLaboklab(50.92% -0.1078 0.0946)
OKLCHoklch(50.92% 0.143 138.7)
XYZxyz(8.3188, 14.2369, 3.2867)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34781A #5E1A78
analogous
#63781A #34781A #1A782F
triadic
#34781A #1A3478 #781A34
tetradic
#34781A #1A6378 #5E1A78 #782F1A
square
#34781A #1A6378 #5E1A78 #782F1A
split-complementary
#34781A #2F1A78 #781A63
monochromatic
#0B1905 #1E460F #34781A #4AAA25 #63D438

Accessibility & contrast

On white

5.46
#34781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#34781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34781A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34781A#FFFFFF#000000##FFFFFF
##34781A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#2E7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34781a;
/* rgb */ color: rgb(52, 120, 26);
/* oklch */ color: oklch(50.9% 0.143 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a05e',
    500: '#34781a',
    950: '#000000',
  },
}
SCSS
$custom: #34781a;
$custom-light: #74a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#34781a",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 103.404,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.14339,
    "h": 138.7
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#34781A
secondary
#8F41AC
accent
#40E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #34781A

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

Preview Lab → · Contrast checker → · Palette generator →

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