#34941B#34941B

#34941B is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.177 H 140.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#34941B
RGBrgb(52, 148, 27)
HSLhsl(108, 69%, 34%)
HSVhsv(108, 82%, 58%)
CMYKcmyk(64.9%, 0%, 81.8%, 42%)
CIE-LABlab(54.01, -49.54, 50.87)
CIE-LCHlch(54.01, 71.01, 134.24°)
OKLaboklab(58.73% -0.1359 0.1129)
OKLCHoklch(58.73% 0.177 140.3)
XYZxyz(12.2033, 21.9878, 4.6377)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34941B #7B1B94
analogous
#71941B #34941B #1B943E
triadic
#34941B #1B3494 #941B34
tetradic
#34941B #1B7194 #7B1B94 #943E1B
square
#34941B #1B7194 #7B1B94 #943E1B
split-complementary
#34941B #3E1B94 #941B71
monochromatic
#102C08 #226012 #34941B #46C824 #6ADE4B

Accessibility & contrast

On white

3.89
#34941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#34941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34941B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34941B#FFFFFF#000000##000000
##34941B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#258F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #34941b;
/* rgb */ color: rgb(52, 148, 27);
/* oklch */ color: oklch(58.7% 0.177 140.3);
Tailwind
colors: {
  custom: {
    50: '#79b463',
    500: '#34941b',
    950: '#000000',
  },
}
SCSS
$custom: #34941b;
$custom-light: #79b463;
$custom-dark: #000000;
JSON
{
  "hex": "#34941b",
  "rgb": {
    "r": 52,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 107.603,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.17666,
    "h": 140.3
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

primary
#34941B
secondary
#A84BC0
accent
#3CECC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34941B

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

Preview Lab → · Contrast checker → · Palette generator →

#34941B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva