#34873D#34873D

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

Color values

HEX#34873D
RGBrgb(52, 135, 61)
HSLhsl(127, 44%, 37%)
HSVhsv(127, 61%, 53%)
CMYKcmyk(61.5%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.97, -41.27, 32.17)
CIE-LCHlch(49.97, 52.33, 142.07°)
OKLaboklab(55.48% -0.1118 0.0771)
OKLCHoklch(55.48% 0.136 145.4)
XYZxyz(10.9218, 18.3939, 7.3888)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34873D #87347E
analogous
#558734 #34873D #348767
triadic
#34873D #3D3487 #873D34
tetradic
#34873D #345587 #87347E #876734
square
#34873D #345587 #87347E #876734
split-complementary
#34873D #673487 #873455
monochromatic
#122F15 #235B29 #34873D #45B351 #6EC778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34873D#FFFFFF#000000##000000
##34873D1.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)
#897B36
Deuteranopia (green-blind)
#7F7442
Tritanopia (blue-blind)
#228476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34873d;
/* rgb */ color: rgb(52, 135, 61);
/* oklch */ color: oklch(55.5% 0.136 145.4);
Tailwind
colors: {
  custom: {
    50: '#75ab74',
    500: '#34873d',
    950: '#000000',
  },
}
SCSS
$custom: #34873d;
$custom-light: #75ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#34873d",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 126.506,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.13579,
    "h": 145.4
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34873D

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

Preview Lab → · Contrast checker → · Palette generator →

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