#34951B#34951B

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

Color values

HEX#34951B
RGBrgb(52, 149, 27)
HSLhsl(108, 69%, 35%)
HSVhsv(108, 82%, 58%)
CMYKcmyk(65.1%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.35, -49.90, 51.18)
CIE-LCHlch(54.35, 71.48, 134.27°)
OKLaboklab(59.01% -0.1368 0.1135)
OKLCHoklch(59.01% 0.178 140.3)
XYZxyz(12.3609, 22.3029, 4.6902)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34951B #7C1B95
analogous
#71951B #34951B #1B953F
triadic
#34951B #1B3495 #951B34
tetradic
#34951B #1B7195 #7C1B95 #953F1B
square
#34951B #1B7195 #7C1B95 #953F1B
split-complementary
#34951B #3F1B95 #951B71
monochromatic
#102D08 #226112 #34951B #46C924 #6ADF4C

Accessibility & contrast

On white

3.85
#34951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34951B#FFFFFF#000000##000000
##34951B1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34951b;
/* rgb */ color: rgb(52, 149, 27);
/* oklch */ color: oklch(59.0% 0.178 140.3);
Tailwind
colors: {
  custom: {
    50: '#79b563',
    500: '#34951b',
    950: '#000000',
  },
}
SCSS
$custom: #34951b;
$custom-light: #79b563;
$custom-dark: #000000;
JSON
{
  "hex": "#34951b",
  "rgb": {
    "r": 52,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 107.705,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.17781,
    "h": 140.3
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#34951B
secondary
#A94BC1
accent
#3CECC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34951B

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

Preview Lab → · Contrast checker → · Palette generator →

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