#3A8528#3A8528

#3A8528 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.148 H 140.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3A8528
RGBrgb(58, 133, 40)
HSLhsl(108, 54%, 34%)
HSVhsv(108, 70%, 52%)
CMYKcmyk(56.4%, 0%, 69.9%, 47.8%)
CIE-LABlab(49.29, -41.38, 41.45)
CIE-LCHlch(49.29, 58.57, 134.95°)
OKLaboklab(54.9% -0.1135 0.095)
OKLCHoklch(54.9% 0.148 140.1)
XYZxyz(10.5150, 17.8269, 4.8939)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8528 #732885
analogous
#698528 #3A8528 #288545
triadic
#3A8528 #283A85 #85283A
tetradic
#3A8528 #286985 #732885 #854528
square
#3A8528 #286985 #732885 #854528
split-complementary
#3A8528 #452885 #852869
monochromatic
#11270C #25561A #3A8528 #4FB436 #70CD5A

Accessibility & contrast

On white

4.60
#3A8528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3A8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8528
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8528#FFFFFF#000000##FFFFFF
##3A85281.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#328172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8528;
/* rgb */ color: rgb(58, 133, 40);
/* oklch */ color: oklch(54.9% 0.148 140.1);
Tailwind
colors: {
  custom: {
    50: '#78a967',
    500: '#3a8528',
    950: '#000000',
  },
}
SCSS
$custom: #3a8528;
$custom-light: #78a967;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8528",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 108.387,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.14798,
    "h": 140.1
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#3A8528
secondary
#A156B3
accent
#4BDDC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8528

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

Preview Lab → · Contrast checker → · Palette generator →

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