#34873F#34873F

#34873F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.134 H 145.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#34873F
RGBrgb(52, 135, 63)
HSLhsl(128, 44%, 37%)
HSVhsv(128, 61%, 53%)
CMYKcmyk(61.5%, 0%, 53.3%, 47.1%)
CIE-LABlab(50.00, -40.98, 31.16)
CIE-LCHlch(50.00, 51.48, 142.75°)
OKLaboklab(55.51% -0.1109 0.075)
OKLCHoklch(55.51% 0.134 145.9)
XYZxyz(10.9767, 18.4159, 7.6778)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34873F #87347C
analogous
#538734 #34873F #348769
triadic
#34873F #3F3487 #873F34
tetradic
#34873F #345387 #87347C #876934
square
#34873F #345387 #87347C #876934
split-complementary
#34873F #693487 #873453
monochromatic
#122F16 #235B2A #34873F #45B354 #6EC77A

Accessibility & contrast

On white

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

On black

4.68
#34873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34873F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34873F#FFFFFF#000000##000000
##34873F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B39
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#228476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34873f;
/* rgb */ color: rgb(52, 135, 63);
/* oklch */ color: oklch(55.5% 0.134 145.9);
Tailwind
colors: {
  custom: {
    50: '#75ab76',
    500: '#34873f',
    950: '#000000',
  },
}
SCSS
$custom: #34873f;
$custom-light: #75ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#34873f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 127.952,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.13389,
    "h": 145.9
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#34873F
secondary
#AF67A6
accent
#54C3D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #34873F

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

Preview Lab → · Contrast checker → · Palette generator →

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