#34851A#34851A

#34851A is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.159 H 139.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#34851A
RGBrgb(52, 133, 26)
HSLhsl(105, 67%, 31%)
HSVhsv(105, 80%, 52%)
CMYKcmyk(60.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.98, -44.13, 46.43)
CIE-LCHlch(48.98, 64.05, 133.55°)
OKLaboklab(54.56% -0.1214 0.1035)
OKLCHoklch(54.56% 0.159 139.6)
XYZxyz(9.9897, 17.5788, 3.8437)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34851A #6B1A85
analogous
#69851A #34851A #1A8535
triadic
#34851A #1A3485 #851A34
tetradic
#34851A #1A6985 #6B1A85 #85351A
square
#34851A #1A6985 #6B1A85 #85351A
split-complementary
#34851A #351A85 #851A69
monochromatic
#0C1F06 #205210 #34851A #48B824 #65DA40

Accessibility & contrast

On white

4.65
#34851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#34851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #34851A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34851A#FFFFFF#000000##FFFFFF
##34851A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#2A8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34851a;
/* rgb */ color: rgb(52, 133, 26);
/* oklch */ color: oklch(54.6% 0.159 139.6);
Tailwind
colors: {
  custom: {
    50: '#76a960',
    500: '#34851a',
    950: '#000000',
  },
}
SCSS
$custom: #34851a;
$custom-light: #76a960;
$custom-dark: #000000;
JSON
{
  "hex": "#34851a",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 105.421,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.15949,
    "h": 139.6
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#34851A
secondary
#9C42B8
accent
#3EEAC0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34851A

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

Preview Lab → · Contrast checker → · Palette generator →

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