#34781E#34781E

#34781E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.141 H 139.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#34781E
RGBrgb(52, 120, 30)
HSLhsl(105, 60%, 29%)
HSVhsv(105, 75%, 47%)
CMYKcmyk(56.7%, 0%, 75%, 52.9%)
CIE-LABlab(44.60, -38.78, 40.65)
CIE-LCHlch(44.60, 56.18, 133.65°)
OKLaboklab(50.95% -0.1067 0.092)
OKLCHoklch(50.95% 0.141 139.2)
XYZxyz(8.3667, 14.2561, 3.5388)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34781E #621E78
analogous
#61781E #34781E #1E7835
triadic
#34781E #1E3478 #781E34
tetradic
#34781E #1E6178 #621E78 #78351E
square
#34781E #1E6178 #621E78 #78351E
split-complementary
#34781E #351E78 #781E61
monochromatic
#0B1806 #1F4712 #34781E #49A92A #64CF41

Accessibility & contrast

On white

5.45
#34781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34781E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34781E#FFFFFF#000000##FFFFFF
##34781E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#2D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34781e;
/* rgb */ color: rgb(52, 120, 30);
/* oklch */ color: oklch(51.0% 0.141 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a060',
    500: '#34781e',
    950: '#000000',
  },
}
SCSS
$custom: #34781e;
$custom-light: #73a060;
$custom-dark: #000000;
JSON
{
  "hex": "#34781e",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 105.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.14089,
    "h": 139.2
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#34781E
secondary
#9346AC
accent
#45E3BC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #34781E

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

Preview Lab → · Contrast checker → · Palette generator →

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