#34931C#34931C

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

Color values

HEX#34931C
RGBrgb(52, 147, 28)
HSLhsl(108, 68%, 34%)
HSVhsv(108, 81%, 58%)
CMYKcmyk(64.6%, 0%, 81%, 42.4%)
CIE-LABlab(53.69, -49.13, 50.25)
CIE-LCHlch(53.69, 70.28, 134.35°)
OKLaboklab(58.46% -0.1347 0.1118)
OKLCHoklch(58.46% 0.175 140.3)
XYZxyz(12.0589, 21.6802, 4.6476)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34931C #7B1C93
analogous
#70931C #34931C #1C9340
triadic
#34931C #1C3493 #931C34
tetradic
#34931C #1C7093 #7B1C93 #93401C
square
#34931C #1C7093 #7B1C93 #93401C
split-complementary
#34931C #401C93 #931C70
monochromatic
#102C08 #226012 #34931C #46C626 #6ADD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34931C#FFFFFF#000000##000000
##34931C1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34931c;
/* rgb */ color: rgb(52, 147, 28);
/* oklch */ color: oklch(58.5% 0.175 140.3);
Tailwind
colors: {
  custom: {
    50: '#79b463',
    500: '#34931c',
    950: '#000000',
  },
}
SCSS
$custom: #34931c;
$custom-light: #79b463;
$custom-dark: #000000;
JSON
{
  "hex": "#34931c",
  "rgb": {
    "r": 52,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 107.899,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.17504,
    "h": 140.3
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#34931C
secondary
#A84CBF
accent
#3DEBC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34931C

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

Preview Lab → · Contrast checker → · Palette generator →

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