#34851B#34851B

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

Color values

HEX#34851B
RGBrgb(52, 133, 27)
HSLhsl(106, 66%, 31%)
HSVhsv(106, 80%, 52%)
CMYKcmyk(60.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.99, -44.06, 46.10)
CIE-LCHlch(48.99, 63.77, 133.71°)
OKLaboklab(54.57% -0.1211 0.1029)
OKLCHoklch(54.57% 0.159 139.7)
XYZxyz(10.0011, 17.5834, 3.9036)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34851B #6C1B85
analogous
#69851B #34851B #1B8537
triadic
#34851B #1B3485 #851B34
tetradic
#34851B #1B6985 #6C1B85 #85371B
square
#34851B #1B6985 #6C1B85 #85371B
split-complementary
#34851B #371B85 #851B69
monochromatic
#0C1F06 #205211 #34851B #48B825 #65D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34851B#FFFFFF#000000##FFFFFF
##34851B1.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)
#7F7227
Tritanopia (blue-blind)
#2A8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34851b;
/* rgb */ color: rgb(52, 133, 27);
/* oklch */ color: oklch(54.6% 0.159 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a960',
    500: '#34851b',
    950: '#000000',
  },
}
SCSS
$custom: #34851b;
$custom-light: #76a960;
$custom-dark: #000000;
JSON
{
  "hex": "#34851b",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 105.849,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.15896,
    "h": 139.7
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#34851B
secondary
#9D44B8
accent
#3FE9C1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34851B

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

Preview Lab → · Contrast checker → · Palette generator →

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