#34873C#34873C

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

Color values

HEX#34873C
RGBrgb(52, 135, 60)
HSLhsl(126, 44%, 37%)
HSVhsv(126, 61%, 53%)
CMYKcmyk(61.5%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.96, -41.41, 32.66)
CIE-LCHlch(49.96, 52.75, 141.74°)
OKLaboklab(55.47% -0.1122 0.0782)
OKLCHoklch(55.47% 0.137 145.1)
XYZxyz(10.8951, 18.3832, 7.2483)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34873C #87347F
analogous
#568734 #34873C #348766
triadic
#34873C #3C3487 #873C34
tetradic
#34873C #345687 #87347F #876634
square
#34873C #345687 #87347F #876634
split-complementary
#34873C #663487 #873456
monochromatic
#122F15 #235B28 #34873C #45B350 #6EC777

Accessibility & contrast

On white

4.49
#34873C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34873C#FFFFFF#000000##000000
##34873C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B35
Deuteranopia (green-blind)
#7F7442
Tritanopia (blue-blind)
#238476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34873c;
/* rgb */ color: rgb(52, 135, 60);
/* oklch */ color: oklch(55.5% 0.137 145.1);
Tailwind
colors: {
  custom: {
    50: '#75ab74',
    500: '#34873c',
    950: '#000000',
  },
}
SCSS
$custom: #34873c;
$custom-light: #75ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#34873c",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 125.783,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.13672,
    "h": 145.1
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#34873C
secondary
#AF67A8
accent
#54C8D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #34873C

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

Preview Lab → · Contrast checker → · Palette generator →

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