#34794B#34794B

#34794B is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.101 H 152.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#34794B
RGBrgb(52, 121, 75)
HSLhsl(140, 40%, 34%)
HSVhsv(140, 57%, 47%)
CMYKcmyk(57%, 0%, 38%, 52.5%)
CIE-LABlab(45.51, -32.92, 18.83)
CIE-LCHlch(45.51, 37.92, 150.22°)
OKLaboklab(51.89% -0.0893 0.0471)
OKLCHoklch(51.89% 0.101 152.2)
XYZxyz(9.5228, 14.9120, 9.0317)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34794B #793462
analogous
#407934 #34794B #34796E
triadic
#34794B #4B3479 #794B34
tetradic
#34794B #344079 #793462 #796E34
square
#34794B #344079 #793462 #796E34
split-complementary
#34794B #6E3479 #793440
monochromatic
#0F2316 #224E30 #34794B #46A466 #69BE85

Accessibility & contrast

On white

5.27
#34794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#34794B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34794B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34794B#FFFFFF#000000##FFFFFF
##34794B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797048
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#22776D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #34794b;
/* rgb */ color: rgb(52, 121, 75);
/* oklch */ color: oklch(51.9% 0.101 152.2);
Tailwind
colors: {
  custom: {
    50: '#72a07d',
    500: '#34794b',
    950: '#000000',
  },
}
SCSS
$custom: #34794b;
$custom-light: #72a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#34794b",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 140,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.101,
    "h": 152.2
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#34794B
secondary
#A76290
accent
#58A8D0
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #34794B

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

Preview Lab → · Contrast checker → · Palette generator →

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