#34831C#34831C

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

Color values

HEX#34831C
RGBrgb(52, 131, 28)
HSLhsl(106, 65%, 31%)
HSVhsv(106, 79%, 51%)
CMYKcmyk(60.3%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.32, -43.24, 45.10)
CIE-LCHlch(48.32, 62.48, 133.79°)
OKLaboklab(54.02% -0.1189 0.101)
OKLCHoklch(54.02% 0.156 139.6)
XYZxyz(9.7417, 17.0456, 3.8752)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34831C #6B1C83
analogous
#67831C #34831C #1C8337
triadic
#34831C #1C3483 #831C34
tetradic
#34831C #1C6783 #6B1C83 #83371C
square
#34831C #1C6783 #6B1C83 #83371C
split-complementary
#34831C #371C83 #831C67
monochromatic
#0C1E06 #205111 #34831C #48B527 #65D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34831C#FFFFFF#000000##FFFFFF
##34831C1.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)
#877704
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#2A7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #34831c;
/* rgb */ color: rgb(52, 131, 28);
/* oklch */ color: oklch(54.0% 0.156 139.6);
Tailwind
colors: {
  custom: {
    50: '#76a860',
    500: '#34831c',
    950: '#000000',
  },
}
SCSS
$custom: #34831c;
$custom-light: #76a860;
$custom-dark: #000000;
JSON
{
  "hex": "#34831c",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 106.019,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.15598,
    "h": 139.6
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#34831C
secondary
#9C45B6
accent
#40E8C1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34831C

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

Preview Lab → · Contrast checker → · Palette generator →

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