#34831A#34831A

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

Color values

HEX#34831A
RGBrgb(52, 131, 26)
HSLhsl(105, 67%, 31%)
HSVhsv(105, 80%, 51%)
CMYKcmyk(60.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.31, -43.37, 45.78)
CIE-LCHlch(48.31, 63.07, 133.45°)
OKLaboklab(54.01% -0.1193 0.1021)
OKLCHoklch(54.01% 0.157 139.5)
XYZxyz(9.7185, 17.0364, 3.7533)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34831A #691A83
analogous
#68831A #34831A #1A8334
triadic
#34831A #1A3483 #831A34
tetradic
#34831A #1A6883 #691A83 #83341A
square
#34831A #1A6883 #691A83 #83341A
split-complementary
#34831A #341A83 #831A68
monochromatic
#0B1D06 #205010 #34831A #48B624 #65D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34831A#FFFFFF#000000##FFFFFF
##34831A1.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)
#877700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#2B7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #34831a;
/* rgb */ color: rgb(52, 131, 26);
/* oklch */ color: oklch(54.0% 0.157 139.5);
Tailwind
colors: {
  custom: {
    50: '#76a860',
    500: '#34831a',
    950: '#000000',
  },
}
SCSS
$custom: #34831a;
$custom-light: #76a860;
$custom-dark: #000000;
JSON
{
  "hex": "#34831a",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 105.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.15707,
    "h": 139.5
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#34831A
secondary
#9A42B7
accent
#3EEABF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34831A

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

Preview Lab → · Contrast checker → · Palette generator →

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