#34841B#34841B

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

Color values

HEX#34841B
RGBrgb(52, 132, 27)
HSLhsl(106, 66%, 31%)
HSVhsv(106, 80%, 52%)
CMYKcmyk(60.6%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.65, -43.69, 45.77)
CIE-LCHlch(48.65, 63.27, 133.66°)
OKLaboklab(54.29% -0.1201 0.1022)
OKLCHoklch(54.29% 0.158 139.6)
XYZxyz(9.8648, 17.3108, 3.8582)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34841B #6B1B84
analogous
#68841B #34841B #1B8436
triadic
#34841B #1B3484 #841B34
tetradic
#34841B #1B6884 #6B1B84 #84361B
square
#34841B #1B6884 #6B1B84 #84361B
split-complementary
#34841B #361B84 #841B68
monochromatic
#0C1E06 #205111 #34841B #48B725 #65D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34841B#FFFFFF#000000##FFFFFF
##34841B1.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)
#887801
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#2A7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34841b;
/* rgb */ color: rgb(52, 132, 27);
/* oklch */ color: oklch(54.3% 0.158 139.6);
Tailwind
colors: {
  custom: {
    50: '#76a860',
    500: '#34841b',
    950: '#000000',
  },
}
SCSS
$custom: #34841b;
$custom-light: #76a860;
$custom-dark: #000000;
JSON
{
  "hex": "#34841b",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 105.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.15775,
    "h": 139.6
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#34841B
secondary
#9C43B7
accent
#3FE9C0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34841B

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

Preview Lab → · Contrast checker → · Palette generator →

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