#34781D#34781D

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

Color values

HEX#34781D
RGBrgb(52, 120, 29)
HSLhsl(105, 61%, 29%)
HSVhsv(105, 76%, 47%)
CMYKcmyk(56.7%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.59, -38.86, 41.04)
CIE-LCHlch(44.59, 56.52, 133.44°)
OKLaboklab(50.94% -0.107 0.0927)
OKLCHoklch(50.94% 0.142 139.1)
XYZxyz(8.3541, 14.2510, 3.4727)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34781D #611D78
analogous
#62781D #34781D #1D7834
triadic
#34781D #1D3478 #781D34
tetradic
#34781D #1D6278 #611D78 #78341D
square
#34781D #1D6278 #611D78 #78341D
split-complementary
#34781D #341D78 #781D62
monochromatic
#0B1906 #1F4711 #34781D #49A929 #64D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34781D#FFFFFF#000000##FFFFFF
##34781D1.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)
#7C6D0C
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#2D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34781d;
/* rgb */ color: rgb(52, 120, 29);
/* oklch */ color: oklch(50.9% 0.142 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a05f',
    500: '#34781d',
    950: '#000000',
  },
}
SCSS
$custom: #34781d;
$custom-light: #73a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#34781d",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 104.835,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.14154,
    "h": 139.1
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#34781D
secondary
#9245AC
accent
#44E4BC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #34781D

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

Preview Lab → · Contrast checker → · Palette generator →

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