#34831E#34831E

#34831E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.155 H 139.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#34831E
RGBrgb(52, 131, 30)
HSLhsl(107, 63%, 32%)
HSVhsv(107, 77%, 51%)
CMYKcmyk(60.3%, 0%, 77.1%, 48.6%)
CIE-LABlab(48.33, -43.09, 44.40)
CIE-LCHlch(48.33, 61.87, 134.15°)
OKLaboklab(54.03% -0.1184 0.0998)
OKLCHoklch(54.03% 0.155 139.9)
XYZxyz(9.7664, 17.0555, 4.0054)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34831E #6D1E83
analogous
#67831E #34831E #1E833B
triadic
#34831E #1E3483 #831E34
tetradic
#34831E #1E6783 #6D1E83 #833B1E
square
#34831E #1E6783 #6D1E83 #833B1E
split-complementary
#34831E #3B1E83 #831E67
monochromatic
#0C1F07 #205113 #34831E #48B529 #66D547

Accessibility & contrast

On white

4.76
#34831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#34831E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34831E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34831E#FFFFFF#000000##FFFFFF
##34831E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#2A7F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #34831e;
/* rgb */ color: rgb(52, 131, 30);
/* oklch */ color: oklch(54.0% 0.155 139.9);
Tailwind
colors: {
  custom: {
    50: '#75a861',
    500: '#34831e',
    950: '#000000',
  },
}
SCSS
$custom: #34831e;
$custom-light: #75a861;
$custom-dark: #000000;
JSON
{
  "hex": "#34831e",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 106.931,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.15483,
    "h": 139.9
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#34831E
secondary
#9E47B6
accent
#42E6C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34831E

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

Preview Lab → · Contrast checker → · Palette generator →

#34831E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva