#34881F#34881F

#34881F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.160 H 140.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#34881F
RGBrgb(52, 136, 31)
HSLhsl(108, 63%, 33%)
HSVhsv(108, 77%, 53%)
CMYKcmyk(61.8%, 0%, 77.2%, 46.7%)
CIE-LABlab(50.02, -44.91, 45.71)
CIE-LCHlch(50.02, 64.08, 134.50°)
OKLaboklab(55.43% -0.1232 0.1027)
OKLCHoklch(55.43% 0.16 140.2)
XYZxyz(10.4672, 18.4364, 4.3030)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34881F #731F88
analogous
#68881F #34881F #1F883E
triadic
#34881F #1F3488 #881F34
tetradic
#34881F #1F6888 #731F88 #883E1F
square
#34881F #1F6888 #731F88 #883E1F
split-complementary
#34881F #3E1F88 #881F68
monochromatic
#0E2408 #215614 #34881F #47BA2A #67D64B

Accessibility & contrast

On white

4.48
#34881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#34881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34881F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34881F#FFFFFF#000000##000000
##34881F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#298374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34881f;
/* rgb */ color: rgb(52, 136, 31);
/* oklch */ color: oklch(55.4% 0.160 140.2);
Tailwind
colors: {
  custom: {
    50: '#76ab63',
    500: '#34881f',
    950: '#000000',
  },
}
SCSS
$custom: #34881f;
$custom-light: #76ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#34881f",
  "rgb": {
    "r": 52,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 108,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.16039,
    "h": 140.2
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#34881F
secondary
#A34AB9
accent
#42E6C5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #34881F

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

Preview Lab → · Contrast checker → · Palette generator →

#34881F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva