#3A811B#3A811B

#3A811B is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.151 H 138.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A811B
RGBrgb(58, 129, 27)
HSLhsl(102, 65%, 31%)
HSVhsv(102, 79%, 51%)
CMYKcmyk(55%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.85, -40.82, 45.08)
CIE-LCHlch(47.85, 60.82, 132.17°)
OKLaboklab(53.69% -0.1128 0.1007)
OKLCHoklch(53.69% 0.151 138.3)
XYZxyz(9.7927, 16.6784, 3.7399)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A811B #621B81
analogous
#6D811B #3A811B #1B812F
triadic
#3A811B #1B3A81 #811B3A
tetradic
#3A811B #1B6D81 #621B81 #812F1B
square
#3A811B #1B6D81 #621B81 #812F1B
split-complementary
#3A811B #2F1B81 #811B6D
monochromatic
#0C1C06 #234E10 #3A811B #51B426 #6ED73F

Accessibility & contrast

On white

4.84
#3A811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3A811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A811B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A811B#FFFFFF#000000##FFFFFF
##3A811B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#347C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a811b;
/* rgb */ color: rgb(58, 129, 27);
/* oklch */ color: oklch(53.7% 0.151 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a660',
    500: '#3a811b',
    950: '#000000',
  },
}
SCSS
$custom: #3a811b;
$custom-light: #78a660;
$custom-dark: #000000;
JSON
{
  "hex": "#3a811b",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 101.765,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.15125,
    "h": 138.3
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#3A811B
secondary
#9243B5
accent
#3FE8B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A811B

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

Preview Lab → · Contrast checker → · Palette generator →

#3A811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva