#34781F#34781F

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

Color values

HEX#34781F
RGBrgb(52, 120, 31)
HSLhsl(106, 59%, 30%)
HSVhsv(106, 74%, 47%)
CMYKcmyk(56.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.61, -38.70, 40.26)
CIE-LCHlch(44.61, 55.84, 133.87°)
OKLaboklab(50.96% -0.1064 0.0913)
OKLCHoklch(50.96% 0.14 139.4)
XYZxyz(8.3796, 14.2613, 3.6072)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34781F #631F78
analogous
#60781F #34781F #1F7837
triadic
#34781F #1F3478 #781F34
tetradic
#34781F #1F6078 #631F78 #78371F
square
#34781F #1F6078 #631F78 #78371F
split-complementary
#34781F #371F78 #781F60
monochromatic
#0B1806 #1F4712 #34781F #49A92C #64CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34781F#FFFFFF#000000##FFFFFF
##34781F1.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)
#7C6D10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#2D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34781f;
/* rgb */ color: rgb(52, 120, 31);
/* oklch */ color: oklch(51.0% 0.140 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a061',
    500: '#34781f',
    950: '#000000',
  },
}
SCSS
$custom: #34781f;
$custom-light: #73a061;
$custom-dark: #000000;
JSON
{
  "hex": "#34781f",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 105.843,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.14022,
    "h": 139.4
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#34781F
secondary
#9447AB
accent
#46E2BD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #34781F

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

Preview Lab → · Contrast checker → · Palette generator →

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