#34841A#34841A

#34841A is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.158 H 139.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#34841A
RGBrgb(52, 132, 26)
HSLhsl(105, 67%, 31%)
HSVhsv(105, 80%, 52%)
CMYKcmyk(60.6%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.64, -43.75, 46.11)
CIE-LCHlch(48.64, 63.56, 133.50°)
OKLaboklab(54.28% -0.1204 0.1028)
OKLCHoklch(54.28% 0.158 139.5)
XYZxyz(9.8535, 17.3063, 3.7983)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34841A #6A1A84
analogous
#69841A #34841A #1A8435
triadic
#34841A #1A3484 #841A34
tetradic
#34841A #1A6984 #6A1A84 #84351A
square
#34841A #1A6984 #6A1A84 #84351A
split-complementary
#34841A #351A84 #841A69
monochromatic
#0C1E06 #205110 #34841A #48B724 #65D93F

Accessibility & contrast

On white

4.71
#34841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#34841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34841A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34841A#FFFFFF#000000##FFFFFF
##34841A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#2A7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34841a;
/* rgb */ color: rgb(52, 132, 26);
/* oklch */ color: oklch(54.3% 0.158 139.5);
Tailwind
colors: {
  custom: {
    50: '#76a860',
    500: '#34841a',
    950: '#000000',
  },
}
SCSS
$custom: #34841a;
$custom-light: #76a860;
$custom-dark: #000000;
JSON
{
  "hex": "#34841a",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 105.283,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.15828,
    "h": 139.5
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#34841A
secondary
#9B42B8
accent
#3EEAC0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34841A

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

Preview Lab → · Contrast checker → · Palette generator →

#34841A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva