#34874C#34874C

#34874C is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.121 H 150.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#34874C
RGBrgb(52, 135, 76)
HSLhsl(137, 44%, 37%)
HSVhsv(137, 61%, 53%)
CMYKcmyk(61.5%, 0%, 43.7%, 47.1%)
CIE-LABlab(50.19, -38.84, 24.42)
CIE-LCHlch(50.19, 45.88, 147.84°)
OKLaboklab(55.73% -0.105 0.0603)
OKLCHoklch(55.73% 0.121 150.1)
XYZxyz(11.3838, 18.5787, 9.8222)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34874C #87346F
analogous
#468734 #34874C #348776
triadic
#34874C #4C3487 #874C34
tetradic
#34874C #344687 #87346F #877634
square
#34874C #344687 #87346F #877634
split-complementary
#34874C #763487 #873446
monochromatic
#122F1A #235B33 #34874C #45B365 #6EC788

Accessibility & contrast

On white

4.45
#34874C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34874C#FFFFFF#000000##000000
##34874C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7D7450
Tritanopia (blue-blind)
#1C8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34874c;
/* rgb */ color: rgb(52, 135, 76);
/* oklch */ color: oklch(55.7% 0.121 150.1);
Tailwind
colors: {
  custom: {
    50: '#74ab7f',
    500: '#34874c',
    950: '#000000',
  },
}
SCSS
$custom: #34874c;
$custom-light: #74ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#34874c",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 137.349,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.12111,
    "h": 150.1
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#34874C
secondary
#AF679B
accent
#54AFD4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #34874C

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

Preview Lab → · Contrast checker → · Palette generator →

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