#34821A#34821A

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

Color values

HEX#34821A
RGBrgb(52, 130, 26)
HSLhsl(105, 67%, 31%)
HSVhsv(105, 80%, 51%)
CMYKcmyk(60%, 0%, 80%, 49%)
CIE-LABlab(47.97, -42.99, 45.46)
CIE-LCHlch(47.97, 62.57, 133.40°)
OKLaboklab(53.73% -0.1183 0.1014)
OKLCHoklch(53.73% 0.156 139.4)
XYZxyz(9.5849, 16.7691, 3.7087)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34821A #681A82
analogous
#68821A #34821A #1A8234
triadic
#34821A #1A3482 #821A34
tetradic
#34821A #1A6882 #681A82 #82341A
square
#34821A #1A6882 #681A82 #82341A
split-complementary
#34821A #341A82 #821A68
monochromatic
#0B1C06 #204F10 #34821A #48B524 #65D83E

Accessibility & contrast

On white

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

On black

4.35
#34821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##34821A#FFFFFF#000000##FFFFFF
##34821A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#2B7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34821a;
/* rgb */ color: rgb(52, 130, 26);
/* oklch */ color: oklch(53.7% 0.156 139.4);
Tailwind
colors: {
  custom: {
    50: '#75a75f',
    500: '#34821a',
    950: '#000000',
  },
}
SCSS
$custom: #34821a;
$custom-light: #75a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#34821a",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 105,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.15585,
    "h": 139.4
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#34821A
secondary
#9942B6
accent
#3EEABF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #34821A

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

Preview Lab → · Contrast checker → · Palette generator →

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