#3A841B#3A841B

#3A841B is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.155 H 138.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A841B
RGBrgb(58, 132, 27)
HSLhsl(102, 66%, 31%)
HSVhsv(102, 80%, 52%)
CMYKcmyk(56.1%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.86, -42.01, 46.05)
CIE-LCHlch(48.86, 62.33, 132.37°)
OKLaboklab(54.52% -0.116 0.1027)
OKLCHoklch(54.52% 0.155 138.5)
XYZxyz(10.1936, 17.4804, 3.8736)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A841B #651B84
analogous
#6E841B #3A841B #1B8430
triadic
#3A841B #1B3A84 #841B3A
tetradic
#3A841B #1B6E84 #651B84 #84301B
square
#3A841B #1B6E84 #651B84 #84301B
split-complementary
#3A841B #301B84 #841B6E
monochromatic
#0D1E06 #245111 #3A841B #50B725 #6ED841

Accessibility & contrast

On white

4.67
#3A841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3A841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A841B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A841B#FFFFFF#000000##FFFFFF
##3A841B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#337F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a841b;
/* rgb */ color: rgb(58, 132, 27);
/* oklch */ color: oklch(54.5% 0.155 138.5);
Tailwind
colors: {
  custom: {
    50: '#79a860',
    500: '#3a841b',
    950: '#000000',
  },
}
SCSS
$custom: #3a841b;
$custom-light: #79a860;
$custom-dark: #000000;
JSON
{
  "hex": "#3a841b",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 102.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.15498,
    "h": 138.5
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#3A841B
secondary
#9543B7
accent
#3FE9B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A841B

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

Preview Lab → · Contrast checker → · Palette generator →

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