#34931F#34931F

#34931F is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.5% C 0.174 H 140.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#34931F
RGBrgb(52, 147, 31)
HSLhsl(109, 65%, 35%)
HSVhsv(109, 79%, 58%)
CMYKcmyk(64.6%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.70, -48.94, 49.30)
CIE-LCHlch(53.70, 69.46, 134.79°)
OKLaboklab(58.48% -0.134 0.1102)
OKLCHoklch(58.48% 0.174 140.6)
XYZxyz(12.0966, 21.6953, 4.8462)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34931F #7E1F93
analogous
#6E931F #34931F #1F9344
triadic
#34931F #1F3493 #931F34
tetradic
#34931F #1F6E93 #7E1F93 #93441F
square
#34931F #1F6E93 #7E1F93 #93441F
split-complementary
#34931F #441F93 #931F6E
monochromatic
#102E0A #226014 #34931F #46C62A #6BDA52

Accessibility & contrast

On white

3.93
#34931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#34931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34931F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34931F#FFFFFF#000000##000000
##34931F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#258E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #34931f;
/* rgb */ color: rgb(52, 147, 31);
/* oklch */ color: oklch(58.5% 0.174 140.6);
Tailwind
colors: {
  custom: {
    50: '#78b464',
    500: '#34931f',
    950: '#000000',
  },
}
SCSS
$custom: #34931f;
$custom-light: #78b464;
$custom-dark: #000000;
JSON
{
  "hex": "#34931f",
  "rgb": {
    "r": 52,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 109.138,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.17353,
    "h": 140.6
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#34931F
secondary
#AA50BE
accent
#40E8CA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34931F

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

Preview Lab → · Contrast checker → · Palette generator →

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