#34901F#34901F

#34901F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.170 H 140.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#34901F
RGBrgb(52, 144, 31)
HSLhsl(109, 65%, 34%)
HSVhsv(109, 78%, 56%)
CMYKcmyk(63.9%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.70, -47.86, 48.33)
CIE-LCHlch(52.70, 68.01, 134.72°)
OKLaboklab(57.65% -0.1311 0.1082)
OKLCHoklch(57.65% 0.17 140.5)
XYZxyz(11.6362, 20.7744, 4.6927)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34901F #7B1F90
analogous
#6C901F #34901F #1F9043
triadic
#34901F #1F3490 #901F34
tetradic
#34901F #1F6C90 #7B1F90 #90431F
square
#34901F #1F6C90 #7B1F90 #90431F
split-complementary
#34901F #431F90 #901F6C
monochromatic
#102B09 #225E14 #34901F #46C22A #6AD950

Accessibility & contrast

On white

4.07
#34901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#34901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34901F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34901F#FFFFFF#000000##000000
##34901F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#268B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #34901f;
/* rgb */ color: rgb(52, 144, 31);
/* oklch */ color: oklch(57.6% 0.170 140.5);
Tailwind
colors: {
  custom: {
    50: '#78b164',
    500: '#34901f',
    950: '#000000',
  },
}
SCSS
$custom: #34901f;
$custom-light: #78b164;
$custom-dark: #000000;
JSON
{
  "hex": "#34901f",
  "rgb": {
    "r": 52,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 108.85,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.17,
    "h": 140.5
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#34901F
secondary
#A84EBC
accent
#40E8C8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34901F

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

Preview Lab → · Contrast checker → · Palette generator →

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