#34901B#34901B

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

Color values

HEX#34901B
RGBrgb(52, 144, 27)
HSLhsl(107, 68%, 34%)
HSVhsv(107, 81%, 56%)
CMYKcmyk(63.9%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.68, -48.11, 49.61)
CIE-LCHlch(52.68, 69.11, 134.12°)
OKLaboklab(57.62% -0.132 0.1103)
OKLCHoklch(57.62% 0.172 140.1)
XYZxyz(11.5867, 20.7546, 4.4321)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34901B #771B90
analogous
#6E901B #34901B #1B903C
triadic
#34901B #1B3490 #901B34
tetradic
#34901B #1B6E90 #771B90 #903C1B
square
#34901B #1B6E90 #771B90 #903C1B
split-complementary
#34901B #3C1B90 #901B6E
monochromatic
#0F2908 #215C11 #34901B #47C425 #68DD49

Accessibility & contrast

On white

4.08
#34901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#34901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34901B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34901B#FFFFFF#000000##000000
##34901B1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#268B7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #34901b;
/* rgb */ color: rgb(52, 144, 27);
/* oklch */ color: oklch(57.6% 0.172 140.1);
Tailwind
colors: {
  custom: {
    50: '#78b162',
    500: '#34901b',
    950: '#000000',
  },
}
SCSS
$custom: #34901b;
$custom-light: #78b162;
$custom-dark: #000000;
JSON
{
  "hex": "#34901b",
  "rgb": {
    "r": 52,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 107.179,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.17203,
    "h": 140.1
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#34901B
secondary
#A548BF
accent
#3DEBC6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34901B

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

Preview Lab → · Contrast checker → · Palette generator →

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