#34821B#34821B

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

Color values

HEX#34821B
RGBrgb(52, 130, 27)
HSLhsl(105, 66%, 31%)
HSVhsv(105, 79%, 51%)
CMYKcmyk(60%, 0%, 79.2%, 49%)
CIE-LABlab(47.97, -42.93, 45.12)
CIE-LCHlch(47.97, 62.28, 133.57°)
OKLaboklab(53.73% -0.1181 0.1009)
OKLCHoklch(53.73% 0.155 139.5)
XYZxyz(9.5962, 16.7736, 3.7686)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34821B #691B82
analogous
#67821B #34821B #1B8235
triadic
#34821B #1B3482 #821B34
tetradic
#34821B #1B6782 #691B82 #82351B
square
#34821B #1B6782 #691B82 #82351B
split-complementary
#34821B #351B82 #821B67
monochromatic
#0B1D06 #204F10 #34821B #48B526 #65D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34821B#FFFFFF#000000##FFFFFF
##34821B1.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)
#867602
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#2B7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34821b;
/* rgb */ color: rgb(52, 130, 27);
/* oklch */ color: oklch(53.7% 0.155 139.5);
Tailwind
colors: {
  custom: {
    50: '#75a760',
    500: '#34821b',
    950: '#000000',
  },
}
SCSS
$custom: #34821b;
$custom-light: #75a760;
$custom-dark: #000000;
JSON
{
  "hex": "#34821b",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 105.437,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.15531,
    "h": 139.5
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#34821B
secondary
#9A43B6
accent
#3FE9BF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #34821B

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

Preview Lab → · Contrast checker → · Palette generator →

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