#34951C#34951C

#34951C is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.177 H 140.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#34951C
RGBrgb(52, 149, 28)
HSLhsl(108, 68%, 35%)
HSVhsv(108, 81%, 58%)
CMYKcmyk(65.1%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.35, -49.84, 50.88)
CIE-LCHlch(54.35, 71.22, 134.41°)
OKLaboklab(59.01% -0.1366 0.1131)
OKLCHoklch(59.01% 0.177 140.4)
XYZxyz(12.3726, 22.3076, 4.7522)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34951C #7D1C95
analogous
#71951C #34951C #1C9540
triadic
#34951C #1C3495 #951C34
tetradic
#34951C #1C7195 #7D1C95 #95401C
square
#34951C #1C7195 #7D1C95 #95401C
split-complementary
#34951C #401C95 #951C71
monochromatic
#102E09 #226112 #34951C #46C926 #6ADE4E

Accessibility & contrast

On white

3.84
#34951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#34951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34951C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34951C#FFFFFF#000000##000000
##34951C1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#24907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #34951c;
/* rgb */ color: rgb(52, 149, 28);
/* oklch */ color: oklch(59.0% 0.177 140.4);
Tailwind
colors: {
  custom: {
    50: '#79b563',
    500: '#34951c',
    950: '#000000',
  },
}
SCSS
$custom: #34951c;
$custom-light: #79b563;
$custom-dark: #000000;
JSON
{
  "hex": "#34951c",
  "rgb": {
    "r": 52,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 108.099,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5901,
    "c": 0.17734,
    "h": 140.4
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#34951C
secondary
#A94DC0
accent
#3DEBC9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34951C

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

Preview Lab → · Contrast checker → · Palette generator →

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