#34821E#34821E

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

Color values

HEX#34821E
RGBrgb(52, 130, 30)
HSLhsl(107, 63%, 31%)
HSVhsv(107, 77%, 51%)
CMYKcmyk(60%, 0%, 76.9%, 49%)
CIE-LABlab(47.99, -42.71, 44.06)
CIE-LCHlch(47.99, 61.37, 134.11°)
OKLaboklab(53.75% -0.1173 0.0991)
OKLCHoklch(53.75% 0.154 139.8)
XYZxyz(9.6327, 16.7882, 3.9609)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34821E #6C1E82
analogous
#66821E #34821E #1E823A
triadic
#34821E #1E3482 #821E34
tetradic
#34821E #1E6682 #6C1E82 #823A1E
square
#34821E #1E6682 #6C1E82 #823A1E
split-complementary
#34821E #3A1E82 #821E66
monochromatic
#0C1F07 #205013 #34821E #48B429 #65D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34821E#FFFFFF#000000##FFFFFF
##34821E1.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)
#867609
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#2B7E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34821e;
/* rgb */ color: rgb(52, 130, 30);
/* oklch */ color: oklch(53.8% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#75a761',
    500: '#34821e',
    950: '#000000',
  },
}
SCSS
$custom: #34821e;
$custom-light: #75a761;
$custom-dark: #000000;
JSON
{
  "hex": "#34821e",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 106.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.15359,
    "h": 139.8
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#34821E
secondary
#9D47B5
accent
#42E6C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #34821E

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

Preview Lab → · Contrast checker → · Palette generator →

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