#34831D#34831D

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

Color values

HEX#34831D
RGBrgb(52, 131, 29)
HSLhsl(106, 64%, 31%)
HSVhsv(106, 78%, 51%)
CMYKcmyk(60.3%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.32, -43.17, 44.76)
CIE-LCHlch(48.32, 62.18, 133.97°)
OKLaboklab(54.03% -0.1186 0.1004)
OKLCHoklch(54.03% 0.155 139.7)
XYZxyz(9.7538, 17.0505, 3.9392)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34831D #6C1D83
analogous
#67831D #34831D #1D8339
triadic
#34831D #1D3483 #831D34
tetradic
#34831D #1D6783 #6C1D83 #83391D
square
#34831D #1D6783 #6C1D83 #83391D
split-complementary
#34831D #391D83 #831D67
monochromatic
#0C1F07 #205112 #34831D #48B528 #65D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34831D#FFFFFF#000000##FFFFFF
##34831D1.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)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#2A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #34831d;
/* rgb */ color: rgb(52, 131, 29);
/* oklch */ color: oklch(54.0% 0.155 139.7);
Tailwind
colors: {
  custom: {
    50: '#75a861',
    500: '#34831d',
    950: '#000000',
  },
}
SCSS
$custom: #34831d;
$custom-light: #75a861;
$custom-dark: #000000;
JSON
{
  "hex": "#34831d",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 106.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.15542,
    "h": 139.7
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#34831D
secondary
#9D46B6
accent
#41E7C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34831D

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

Preview Lab → · Contrast checker → · Palette generator →

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