#34891F#34891F

#34891F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.162 H 140.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#34891F
RGBrgb(52, 137, 31)
HSLhsl(108, 63%, 33%)
HSVhsv(108, 77%, 54%)
CMYKcmyk(62%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.36, -45.28, 46.04)
CIE-LCHlch(50.36, 64.58, 134.53°)
OKLaboklab(55.71% -0.1242 0.1034)
OKLCHoklch(55.71% 0.162 140.2)
XYZxyz(10.6087, 18.7193, 4.3502)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34891F #741F89
analogous
#69891F #34891F #1F893F
triadic
#34891F #1F3489 #891F34
tetradic
#34891F #1F6989 #741F89 #893F1F
square
#34891F #1F6989 #741F89 #893F1F
split-complementary
#34891F #3F1F89 #891F69
monochromatic
#0E2508 #215714 #34891F #47BB2A #67D64C

Accessibility & contrast

On white

4.43
#34891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#34891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34891F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34891F#FFFFFF#000000##000000
##34891F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#288475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #34891f;
/* rgb */ color: rgb(52, 137, 31);
/* oklch */ color: oklch(55.7% 0.162 140.2);
Tailwind
colors: {
  custom: {
    50: '#77ac63',
    500: '#34891f',
    950: '#000000',
  },
}
SCSS
$custom: #34891f;
$custom-light: #77ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#34891f",
  "rgb": {
    "r": 52,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 108.113,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.1616,
    "h": 140.2
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#34891F
secondary
#A34BB9
accent
#42E6C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #34891F

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

Preview Lab → · Contrast checker → · Palette generator →

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