#34875C#34875C

#34875C is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.1% C 0.105 H 157.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#34875C
RGBrgb(52, 135, 92)
HSLhsl(149, 44%, 37%)
HSVhsv(149, 61%, 53%)
CMYKcmyk(61.5%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.49, -35.67, 15.84)
CIE-LCHlch(50.49, 39.03, 156.06°)
OKLaboklab(56.08% -0.0972 0.0401)
OKLCHoklch(56.08% 0.105 157.6)
XYZxyz(12.0109, 18.8295, 13.1246)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34875C #87345F
analogous
#368734 #34875C #348786
triadic
#34875C #5C3487 #875C34
tetradic
#34875C #343687 #87345F #878634
square
#34875C #343687 #87345F #878634
split-complementary
#34875C #863487 #873436
monochromatic
#122F20 #235B3E #34875C #45B37A #6EC799

Accessibility & contrast

On white

4.41
#34875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#34875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34875C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34875C#FFFFFF#000000##000000
##34875C1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7B755F
Tritanopia (blue-blind)
#10867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #34875c;
/* rgb */ color: rgb(52, 135, 92);
/* oklch */ color: oklch(56.1% 0.105 157.6);
Tailwind
colors: {
  custom: {
    50: '#74aa8a',
    500: '#34875c',
    950: '#000000',
  },
}
SCSS
$custom: #34875c;
$custom-light: #74aa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#34875c",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 148.916,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.1052,
    "h": 157.6
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#34875C
secondary
#AF678D
accent
#5496D4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #34875C

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

Preview Lab → · Contrast checker → · Palette generator →

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