#34831F#34831F

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

Color values

HEX#34831F
RGBrgb(52, 131, 31)
HSLhsl(107, 62%, 32%)
HSVhsv(107, 76%, 51%)
CMYKcmyk(60.3%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.34, -43.02, 44.03)
CIE-LCHlch(48.34, 61.56, 134.33°)
OKLaboklab(54.04% -0.1181 0.0992)
OKLCHoklch(54.04% 0.154 140)
XYZxyz(9.7794, 17.0607, 4.0738)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34831F #6E1F83
analogous
#66831F #34831F #1F833C
triadic
#34831F #1F3483 #831F34
tetradic
#34831F #1F6683 #6E1F83 #833C1F
square
#34831F #1F6683 #6E1F83 #833C1F
split-complementary
#34831F #3C1F83 #831F66
monochromatic
#0D2008 #205213 #34831F #48B42B #66D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34831F#FFFFFF#000000##FFFFFF
##34831F1.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)
#87770B
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#2A7F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #34831f;
/* rgb */ color: rgb(52, 131, 31);
/* oklch */ color: oklch(54.0% 0.154 140.0);
Tailwind
colors: {
  custom: {
    50: '#75a862',
    500: '#34831f',
    950: '#000000',
  },
}
SCSS
$custom: #34831f;
$custom-light: #75a862;
$custom-dark: #000000;
JSON
{
  "hex": "#34831f",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 107.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.15423,
    "h": 140
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#34831F
secondary
#9F48B6
accent
#43E5C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34831F

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

Preview Lab → · Contrast checker → · Palette generator →

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