#34841C#34841C

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

Color values

HEX#34841C
RGBrgb(52, 132, 28)
HSLhsl(106, 65%, 31%)
HSVhsv(106, 79%, 52%)
CMYKcmyk(60.6%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.66, -43.62, 45.43)
CIE-LCHlch(48.66, 62.98, 133.83°)
OKLaboklab(54.3% -0.1199 0.1017)
OKLCHoklch(54.3% 0.157 139.7)
XYZxyz(9.8766, 17.3156, 3.9201)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34841C #6C1C84
analogous
#68841C #34841C #1C8438
triadic
#34841C #1C3484 #841C34
tetradic
#34841C #1C6884 #6C1C84 #84381C
square
#34841C #1C6884 #6C1C84 #84381C
split-complementary
#34841C #381C84 #841C68
monochromatic
#0C1F07 #205211 #34841C #48B627 #65D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34841C#FFFFFF#000000##FFFFFF
##34841C1.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)
#887803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#2A7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34841c;
/* rgb */ color: rgb(52, 132, 28);
/* oklch */ color: oklch(54.3% 0.157 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a861',
    500: '#34841c',
    950: '#000000',
  },
}
SCSS
$custom: #34841c;
$custom-light: #76a861;
$custom-dark: #000000;
JSON
{
  "hex": "#34841c",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 106.154,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.1572,
    "h": 139.7
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#34841C
secondary
#9D45B7
accent
#40E8C1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34841C

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

Preview Lab → · Contrast checker → · Palette generator →

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