#34931A#34931A

#34931A is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.176 H 140.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#34931A
RGBrgb(52, 147, 26)
HSLhsl(107, 70%, 34%)
HSVhsv(107, 82%, 58%)
CMYKcmyk(64.6%, 0%, 82.3%, 42.4%)
CIE-LABlab(53.68, -49.25, 50.85)
CIE-LCHlch(53.68, 70.79, 134.08°)
OKLaboklab(58.45% -0.1351 0.1127)
OKLCHoklch(58.45% 0.176 140.2)
XYZxyz(12.0358, 21.6709, 4.5257)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34931A #791A93
analogous
#71931A #34931A #1A933C
triadic
#34931A #1A3493 #931A34
tetradic
#34931A #1A7193 #791A93 #933C1A
square
#34931A #1A7193 #791A93 #933C1A
split-complementary
#34931A #3C1A93 #931A71
monochromatic
#0F2B08 #225F11 #34931A #46C723 #69DF49

Accessibility & contrast

On white

3.94
#34931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#34931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34931A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34931A#FFFFFF#000000##000000
##34931A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34931a;
/* rgb */ color: rgb(52, 147, 26);
/* oklch */ color: oklch(58.4% 0.176 140.2);
Tailwind
colors: {
  custom: {
    50: '#79b462',
    500: '#34931a',
    950: '#000000',
  },
}
SCSS
$custom: #34931a;
$custom-light: #79b462;
$custom-dark: #000000;
JSON
{
  "hex": "#34931a",
  "rgb": {
    "r": 52,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 107.107,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.17597,
    "h": 140.2
  },
  "luminance": 0.21672
}

Semantic roles & 50–950 ramp

primary
#34931A
secondary
#A748C0
accent
#3BEDC7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34931A

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

Preview Lab → · Contrast checker → · Palette generator →

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