#34851C#34851C

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

Color values

HEX#34851C
RGBrgb(52, 133, 28)
HSLhsl(106, 65%, 32%)
HSVhsv(106, 79%, 52%)
CMYKcmyk(60.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.99, -44.00, 45.76)
CIE-LCHlch(48.99, 63.48, 133.87°)
OKLaboklab(54.58% -0.1209 0.1024)
OKLCHoklch(54.58% 0.158 139.7)
XYZxyz(10.0129, 17.5881, 3.9656)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34851C #6D1C85
analogous
#69851C #34851C #1C8539
triadic
#34851C #1C3485 #851C34
tetradic
#34851C #1C6985 #6D1C85 #85391C
square
#34851C #1C6985 #6D1C85 #85391C
split-complementary
#34851C #391C85 #851C69
monochromatic
#0C2007 #205211 #34851C #48B827 #66D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34851C#FFFFFF#000000##FFFFFF
##34851C1.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)
#897803
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#2A8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34851c;
/* rgb */ color: rgb(52, 133, 28);
/* oklch */ color: oklch(54.6% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a961',
    500: '#34851c',
    950: '#000000',
  },
}
SCSS
$custom: #34851c;
$custom-light: #76a961;
$custom-dark: #000000;
JSON
{
  "hex": "#34851c",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 106.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.15843,
    "h": 139.7
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#34851C
secondary
#9E45B8
accent
#40E8C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34851C

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

Preview Lab → · Contrast checker → · Palette generator →

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