#3A7D2A#3A7D2A

#3A7D2A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.136 H 140.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A7D2A
RGBrgb(58, 125, 42)
HSLhsl(108, 50%, 33%)
HSVhsv(108, 66%, 49%)
CMYKcmyk(53.6%, 0%, 66.4%, 51%)
CIE-LABlab(46.62, -37.92, 37.68)
CIE-LCHlch(46.62, 53.45, 135.18°)
OKLaboklab(52.72% -0.104 0.0873)
OKLCHoklch(52.72% 0.136 140)
XYZxyz(9.4961, 15.7332, 4.7265)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D2A #6D2A7D
analogous
#637D2A #3A7D2A #2A7D44
triadic
#3A7D2A #2A3A7D #7D2A3A
tetradic
#3A7D2A #2A637D #6D2A7D #7D442A
square
#3A7D2A #2A637D #6D2A7D #7D442A
split-complementary
#3A7D2A #442A7D #7D2A63
monochromatic
#0F210B #254F1B #3A7D2A #4FAB39 #6FC85A

Accessibility & contrast

On white

5.06
#3A7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3A7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D2A#FFFFFF#000000##FFFFFF
##3A7D2A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#33796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d2a;
/* rgb */ color: rgb(58, 125, 42);
/* oklch */ color: oklch(52.7% 0.136 140.0);
Tailwind
colors: {
  custom: {
    50: '#77a367',
    500: '#3a7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d2a;
$custom-light: #77a367;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d2a",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 108.434,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.13575,
    "h": 140
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#3A7D2A
secondary
#9C56AD
accent
#4FD9BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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