#34811F#34811F

#34811F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.152 H 139.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#34811F
RGBrgb(52, 129, 31)
HSLhsl(107, 61%, 31%)
HSVhsv(107, 76%, 51%)
CMYKcmyk(59.7%, 0%, 76%, 49.4%)
CIE-LABlab(47.66, -42.25, 43.36)
CIE-LCHlch(47.66, 60.54, 134.26°)
OKLaboklab(53.48% -0.116 0.0978)
OKLCHoklch(53.48% 0.152 139.9)
XYZxyz(9.5133, 16.5287, 3.9851)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34811F #6C1F81
analogous
#65811F #34811F #1F813B
triadic
#34811F #1F3481 #811F34
tetradic
#34811F #1F6581 #6C1F81 #813B1F
square
#34811F #1F6581 #6C1F81 #813B1F
split-complementary
#34811F #3B1F81 #811F65
monochromatic
#0C1E07 #205013 #34811F #48B22B #65D347

Accessibility & contrast

On white

4.88
#34811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#34811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34811F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34811F#FFFFFF#000000##FFFFFF
##34811F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#2B7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34811f;
/* rgb */ color: rgb(52, 129, 31);
/* oklch */ color: oklch(53.5% 0.152 139.9);
Tailwind
colors: {
  custom: {
    50: '#75a662',
    500: '#34811f',
    950: '#000000',
  },
}
SCSS
$custom: #34811f;
$custom-light: #75a662;
$custom-dark: #000000;
JSON
{
  "hex": "#34811f",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 107.143,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.15174,
    "h": 139.9
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#34811F
secondary
#9D48B4
accent
#43E4C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #34811F

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

Preview Lab → · Contrast checker → · Palette generator →

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