#34821F#34821F

#34821F is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.153 H 139.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#34821F
RGBrgb(52, 130, 31)
HSLhsl(107, 61%, 32%)
HSVhsv(107, 76%, 51%)
CMYKcmyk(60%, 0%, 76.2%, 49%)
CIE-LABlab(48.00, -42.63, 43.70)
CIE-LCHlch(48.00, 61.05, 134.30°)
OKLaboklab(53.76% -0.1171 0.0985)
OKLCHoklch(53.76% 0.153 139.9)
XYZxyz(9.6457, 16.7934, 4.0292)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34821F #6D1F82
analogous
#66821F #34821F #1F823C
triadic
#34821F #1F3482 #821F34
tetradic
#34821F #1F6682 #6D1F82 #823C1F
square
#34821F #1F6682 #6D1F82 #823C1F
split-complementary
#34821F #3C1F82 #821F66
monochromatic
#0C1F07 #205113 #34821F #48B32B #66D348

Accessibility & contrast

On white

4.82
#34821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#34821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34821F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34821F#FFFFFF#000000##FFFFFF
##34821F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#2A7E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34821f;
/* rgb */ color: rgb(52, 130, 31);
/* oklch */ color: oklch(53.8% 0.153 139.9);
Tailwind
colors: {
  custom: {
    50: '#75a762',
    500: '#34821f',
    950: '#000000',
  },
}
SCSS
$custom: #34821f;
$custom-light: #75a762;
$custom-dark: #000000;
JSON
{
  "hex": "#34821f",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 107.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.15299,
    "h": 139.9
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#34821F
secondary
#9E48B5
accent
#43E5C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #34821F

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

Preview Lab → · Contrast checker → · Palette generator →

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