#3A802B#3A802B

#3A802B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.139 H 140.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A802B
RGBrgb(58, 128, 43)
HSLhsl(109, 50%, 34%)
HSVhsv(109, 66%, 50%)
CMYKcmyk(54.7%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.64, -39.05, 38.34)
CIE-LCHlch(47.64, 54.73, 135.53°)
OKLaboklab(53.56% -0.107 0.0888)
OKLCHoklch(53.56% 0.139 140.3)
XYZxyz(9.8997, 16.5115, 4.9504)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A802B #712B80
analogous
#64802B #3A802B #2B8046
triadic
#3A802B #2B3A80 #802B3A
tetradic
#3A802B #2B6480 #712B80 #80462B
square
#3A802B #2B6480 #712B80 #80462B
split-complementary
#3A802B #462B80 #802B64
monochromatic
#10240C #25521C #3A802B #4FAE3A #70C95D

Accessibility & contrast

On white

4.88
#3A802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3A802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A802B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A802B#FFFFFF#000000##FFFFFF
##3A802B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837521
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#327C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a802b;
/* rgb */ color: rgb(58, 128, 43);
/* oklch */ color: oklch(53.6% 0.139 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a568',
    500: '#3a802b',
    950: '#000000',
  },
}
SCSS
$custom: #3a802b;
$custom-light: #77a568;
$custom-dark: #000000;
JSON
{
  "hex": "#3a802b",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 109.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.13904,
    "h": 140.3
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#3A802B
secondary
#9F58AE
accent
#4FD9C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A802B

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

Preview Lab → · Contrast checker → · Palette generator →

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