#34951F#34951F

#34951F is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.176 H 140.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#34951F
RGBrgb(52, 149, 31)
HSLhsl(109, 66%, 35%)
HSVhsv(109, 79%, 58%)
CMYKcmyk(65.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.37, -49.65, 49.94)
CIE-LCHlch(54.37, 70.42, 134.83°)
OKLaboklab(59.03% -0.136 0.1115)
OKLCHoklch(59.03% 0.176 140.6)
XYZxyz(12.4103, 22.3227, 4.9507)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34951F #801F95
analogous
#6F951F #34951F #1F9545
triadic
#34951F #1F3495 #951F34
tetradic
#34951F #1F6F95 #801F95 #95451F
square
#34951F #1F6F95 #801F95 #95451F
split-complementary
#34951F #451F95 #951F6F
monochromatic
#11300A #226214 #34951F #46C82A #6BDB53

Accessibility & contrast

On white

3.84
#34951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#34951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34951F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34951F#FFFFFF#000000##000000
##34951F1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#24907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #34951f;
/* rgb */ color: rgb(52, 149, 31);
/* oklch */ color: oklch(59.0% 0.176 140.6);
Tailwind
colors: {
  custom: {
    50: '#79b564',
    500: '#34951f',
    950: '#000000',
  },
}
SCSS
$custom: #34951f;
$custom-light: #79b564;
$custom-dark: #000000;
JSON
{
  "hex": "#34951f",
  "rgb": {
    "r": 52,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 109.322,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.17586,
    "h": 140.6
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#34951F
secondary
#AB51BF
accent
#3FE9CA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34951F

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

Preview Lab → · Contrast checker → · Palette generator →

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