#34852F#34852F

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

Color values

HEX#34852F
RGBrgb(52, 133, 47)
HSLhsl(117, 48%, 35%)
HSVhsv(117, 65%, 52%)
CMYKcmyk(60.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(49.14, -42.28, 38.10)
CIE-LCHlch(49.14, 56.91, 137.98°)
OKLaboklab(54.75% -0.1151 0.0888)
OKLCHoklch(54.75% 0.145 142.4)
XYZxyz(10.3162, 17.7094, 5.5634)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34852F #802F85
analogous
#5F852F #34852F #2F8555
triadic
#34852F #2F3485 #852F34
tetradic
#34852F #2F5F85 #802F85 #85552F
square
#34852F #2F5F85 #802F85 #85552F
split-complementary
#34852F #552F85 #852F5F
monochromatic
#112B0F #22581F #34852F #46B23F #6BC966

Accessibility & contrast

On white

4.62
#34852F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34852F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34852F#FFFFFF#000000##FFFFFF
##34852F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34852f;
/* rgb */ color: rgb(52, 133, 47);
/* oklch */ color: oklch(54.7% 0.145 142.4);
Tailwind
colors: {
  custom: {
    50: '#75a96b',
    500: '#34852f',
    950: '#000000',
  },
}
SCSS
$custom: #34852f;
$custom-light: #75a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#34852f",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 116.512,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.14537,
    "h": 142.4
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#34852F
secondary
#AB60B0
accent
#50D7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34852F

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

Preview Lab → · Contrast checker → · Palette generator →

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