#3A8A28#3A8A28

#3A8A28 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.154 H 140.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8A28
RGBrgb(58, 138, 40)
HSLhsl(109, 55%, 35%)
HSVhsv(109, 71%, 54%)
CMYKcmyk(58%, 0%, 71%, 45.9%)
CIE-LABlab(50.95, -43.35, 43.21)
CIE-LCHlch(50.95, 61.21, 135.09°)
OKLaboklab(56.28% -0.1188 0.0987)
OKLCHoklch(56.28% 0.154 140.3)
XYZxyz(11.2159, 19.2287, 5.1275)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A28 #78288A
analogous
#6B8A28 #3A8A28 #288A47
triadic
#3A8A28 #283A8A #8A283A
tetradic
#3A8A28 #286B8A #78288A #8A4728
square
#3A8A28 #286B8A #78288A #8A4728
split-complementary
#3A8A28 #47288A #8A286B
monochromatic
#122B0C #265B1A #3A8A28 #4EB936 #72D05D

Accessibility & contrast

On white

4.33
#3A8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3A8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A28
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A28#FFFFFF#000000##000000
##3A8A281.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#308576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a28;
/* rgb */ color: rgb(58, 138, 40);
/* oklch */ color: oklch(56.3% 0.154 140.3);
Tailwind
colors: {
  custom: {
    50: '#79ad68',
    500: '#3a8a28',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a28;
$custom-light: #79ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a28",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 108.98,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.15445,
    "h": 140.3
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#3A8A28
secondary
#A459B5
accent
#49DEC3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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