#34875B#34875B

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

Color values

HEX#34875B
RGBrgb(52, 135, 91)
HSLhsl(148, 44%, 37%)
HSVhsv(148, 61%, 53%)
CMYKcmyk(61.5%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.47, -35.89, 16.38)
CIE-LCHlch(50.47, 39.45, 155.47°)
OKLaboklab(56.05% -0.0977 0.0414)
OKLCHoklch(56.05% 0.106 157)
XYZxyz(11.9674, 18.8122, 12.8959)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34875B #873460
analogous
#378734 #34875B #348785
triadic
#34875B #5B3487 #875B34
tetradic
#34875B #343787 #873460 #878534
square
#34875B #343787 #873460 #878534
split-complementary
#34875B #853487 #873437
monochromatic
#122F1F #235B3D #34875B #45B379 #6EC798

Accessibility & contrast

On white

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

On black

4.76
#34875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34875B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34875B#FFFFFF#000000##000000
##34875B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D58
Deuteranopia (green-blind)
#7B755E
Tritanopia (blue-blind)
#11867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #34875b;
/* rgb */ color: rgb(52, 135, 91);
/* oklch */ color: oklch(56.1% 0.106 157.0);
Tailwind
colors: {
  custom: {
    50: '#74aa89',
    500: '#34875b',
    950: '#000000',
  },
}
SCSS
$custom: #34875b;
$custom-light: #74aa89;
$custom-dark: #000000;
JSON
{
  "hex": "#34875b",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 148.193,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.10617,
    "h": 157
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#34875B
secondary
#AF678E
accent
#5498D4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #34875B

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

Preview Lab → · Contrast checker → · Palette generator →

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