#34852D#34852D

#34852D is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.147 H 142.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#34852D
RGBrgb(52, 133, 45)
HSLhsl(115, 49%, 35%)
HSVhsv(115, 66%, 52%)
CMYKcmyk(60.9%, 0%, 66.2%, 47.8%)
CIE-LABlab(49.12, -42.50, 39.00)
CIE-LCHlch(49.12, 57.68, 137.46°)
OKLaboklab(54.73% -0.1158 0.0905)
OKLCHoklch(54.73% 0.147 142)
XYZxyz(10.2768, 17.6936, 5.3558)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34852D #7E2D85
analogous
#60852D #34852D #2D8552
triadic
#34852D #2D3485 #852D34
tetradic
#34852D #2D6085 #7E2D85 #85522D
square
#34852D #2D6085 #7E2D85 #85522D
split-complementary
#34852D #522D85 #852D60
monochromatic
#102A0E #22571E #34852D #46B33C #6BCA62

Accessibility & contrast

On white

4.63
#34852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#34852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #34852D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34852D#FFFFFF#000000##FFFFFF
##34852D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#278173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #34852d;
/* rgb */ color: rgb(52, 133, 45);
/* oklch */ color: oklch(54.7% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#75a96a',
    500: '#34852d',
    950: '#000000',
  },
}
SCSS
$custom: #34852d;
$custom-light: #75a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#34852d",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 115.227,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.14698,
    "h": 142
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#34852D
secondary
#AA5DB0
accent
#4FD9CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34852D

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

Preview Lab → · Contrast checker → · Palette generator →

#34852D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva