#34874F#34874F

#34874F is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.118 H 151.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#34874F
RGBrgb(52, 135, 79)
HSLhsl(140, 44%, 37%)
HSVhsv(140, 61%, 53%)
CMYKcmyk(61.5%, 0%, 41.5%, 47.1%)
CIE-LABlab(50.24, -38.29, 22.83)
CIE-LCHlch(50.24, 44.58, 149.19°)
OKLaboklab(55.79% -0.1036 0.0567)
OKLCHoklch(55.79% 0.118 151.3)
XYZxyz(11.4906, 18.6214, 10.3844)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34874F #87346C
analogous
#438734 #34874F #348779
triadic
#34874F #4F3487 #874F34
tetradic
#34874F #344387 #87346C #877934
square
#34874F #344387 #87346C #877934
split-complementary
#34874F #793487 #873443
monochromatic
#122F1B #235B35 #34874F #45B369 #6EC78B

Accessibility & contrast

On white

4.44
#34874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#34874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34874F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34874F#FFFFFF#000000##000000
##34874F1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4B
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#1A8579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #34874f;
/* rgb */ color: rgb(52, 135, 79);
/* oklch */ color: oklch(55.8% 0.118 151.3);
Tailwind
colors: {
  custom: {
    50: '#74ab81',
    500: '#34874f',
    950: '#000000',
  },
}
SCSS
$custom: #34874f;
$custom-light: #74ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#34874f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 139.518,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55793,
    "c": 0.11809,
    "h": 151.3
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#34874F
secondary
#AF6798
accent
#54AAD4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #34874F

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

Preview Lab → · Contrast checker → · Palette generator →

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