#34901C#34901C

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

Color values

HEX#34901C
RGBrgb(52, 144, 28)
HSLhsl(108, 67%, 34%)
HSVhsv(108, 81%, 56%)
CMYKcmyk(63.9%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.69, -48.05, 49.30)
CIE-LCHlch(52.69, 68.85, 134.26°)
OKLaboklab(57.63% -0.1318 0.1098)
OKLCHoklch(57.63% 0.172 140.2)
XYZxyz(11.5985, 20.7593, 4.4941)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34901C #781C90
analogous
#6E901C #34901C #1C903E
triadic
#34901C #1C3490 #901C34
tetradic
#34901C #1C6E90 #781C90 #903E1C
square
#34901C #1C6E90 #781C90 #903E1C
split-complementary
#34901C #3E1C90 #901C6E
monochromatic
#0F2A08 #215D12 #34901C #47C326 #69DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34901C#FFFFFF#000000##000000
##34901C1.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)
#897B2A
Tritanopia (blue-blind)
#268B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #34901c;
/* rgb */ color: rgb(52, 144, 28);
/* oklch */ color: oklch(57.6% 0.172 140.2);
Tailwind
colors: {
  custom: {
    50: '#78b162',
    500: '#34901c',
    950: '#000000',
  },
}
SCSS
$custom: #34901c;
$custom-light: #78b162;
$custom-dark: #000000;
JSON
{
  "hex": "#34901c",
  "rgb": {
    "r": 52,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 107.586,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.17155,
    "h": 140.2
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#34901C
secondary
#A64ABE
accent
#3DEAC7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34901C

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

Preview Lab → · Contrast checker → · Palette generator →

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