#34874A#34874A

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

Color values

HEX#34874A
RGBrgb(52, 135, 74)
HSLhsl(136, 44%, 37%)
HSVhsv(136, 61%, 53%)
CMYKcmyk(61.5%, 0%, 45.2%, 47.1%)
CIE-LABlab(50.16, -39.20, 25.48)
CIE-LCHlch(50.16, 46.75, 146.97°)
OKLaboklab(55.7% -0.1059 0.0627)
OKLCHoklch(55.7% 0.123 149.4)
XYZxyz(11.3154, 18.5513, 9.4617)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34874A #873471
analogous
#488734 #34874A #348774
triadic
#34874A #4A3487 #874A34
tetradic
#34874A #344887 #873471 #877434
square
#34874A #344887 #873471 #877434
split-complementary
#34874A #743487 #873448
monochromatic
#122F1A #235B32 #34874A #45B362 #6EC786

Accessibility & contrast

On white

4.46
#34874A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#34874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34874A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34874A#FFFFFF#000000##000000
##34874A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#1D8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #34874a;
/* rgb */ color: rgb(52, 135, 74);
/* oklch */ color: oklch(55.7% 0.123 149.4);
Tailwind
colors: {
  custom: {
    50: '#74ab7d',
    500: '#34874a',
    950: '#000000',
  },
}
SCSS
$custom: #34874a;
$custom-light: #74ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#34874a",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 135.904,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.12311,
    "h": 149.4
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#34874A
secondary
#AF679C
accent
#54B2D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #34874A

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

Preview Lab → · Contrast checker → · Palette generator →

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