#34801F#34801F

#34801F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.150 H 139.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#34801F
RGBrgb(52, 128, 31)
HSLhsl(107, 61%, 31%)
HSVhsv(107, 76%, 50%)
CMYKcmyk(59.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.32, -41.86, 43.02)
CIE-LCHlch(47.32, 60.02, 134.22°)
OKLaboklab(53.2% -0.115 0.0971)
OKLCHoklch(53.2% 0.15 139.8)
XYZxyz(9.3823, 16.2665, 3.9414)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34801F #6B1F80
analogous
#64801F #34801F #1F803A
triadic
#34801F #1F3480 #801F34
tetradic
#34801F #1F6480 #6B1F80 #803A1F
square
#34801F #1F6480 #6B1F80 #803A1F
split-complementary
#34801F #3A1F80 #801F64
monochromatic
#0C1D07 #204F13 #34801F #48B12B #65D247

Accessibility & contrast

On white

4.94
#34801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#34801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34801F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34801F#FFFFFF#000000##FFFFFF
##34801F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#2B7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #34801f;
/* rgb */ color: rgb(52, 128, 31);
/* oklch */ color: oklch(53.2% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#75a662',
    500: '#34801f',
    950: '#000000',
  },
}
SCSS
$custom: #34801f;
$custom-light: #75a662;
$custom-dark: #000000;
JSON
{
  "hex": "#34801f",
  "rgb": {
    "r": 52,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 107.01,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.15047,
    "h": 139.8
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#34801F
secondary
#9C48B3
accent
#44E4C1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #34801F

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

Preview Lab → · Contrast checker → · Palette generator →

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