#3A802C#3A802C

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

Color values

HEX#3A802C
RGBrgb(58, 128, 44)
HSLhsl(110, 49%, 34%)
HSVhsv(110, 66%, 50%)
CMYKcmyk(54.7%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.65, -38.95, 37.89)
CIE-LCHlch(47.65, 54.34, 135.79°)
OKLaboklab(53.57% -0.1066 0.0879)
OKLCHoklch(53.57% 0.138 140.5)
XYZxyz(9.9183, 16.5189, 5.0482)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A802C #722C80
analogous
#64802C #3A802C #2C8048
triadic
#3A802C #2C3A80 #802C3A
tetradic
#3A802C #2C6480 #722C80 #80482C
square
#3A802C #2C6480 #722C80 #80482C
split-complementary
#3A802C #482C80 #802C64
monochromatic
#11250D #25521C #3A802C #4FAE3C #70C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A802C#FFFFFF#000000##FFFFFF
##3A802C1.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)
#837522
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#327C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a802c;
/* rgb */ color: rgb(58, 128, 44);
/* oklch */ color: oklch(53.6% 0.138 140.5);
Tailwind
colors: {
  custom: {
    50: '#77a569',
    500: '#3a802c',
    950: '#000000',
  },
}
SCSS
$custom: #3a802c;
$custom-light: #77a569;
$custom-dark: #000000;
JSON
{
  "hex": "#3a802c",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 110,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.13822,
    "h": 140.5
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#3A802C
secondary
#A05AAE
accent
#4FD8C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A802C

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

Preview Lab → · Contrast checker → · Palette generator →

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