#3A7D2B#3A7D2B

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

Color values

HEX#3A7D2B
RGBrgb(58, 125, 43)
HSLhsl(109, 49%, 33%)
HSVhsv(109, 66%, 49%)
CMYKcmyk(53.6%, 0%, 65.6%, 51%)
CIE-LABlab(46.63, -37.81, 37.23)
CIE-LCHlch(46.63, 53.06, 135.44°)
OKLaboklab(52.73% -0.1036 0.0864)
OKLCHoklch(52.73% 0.135 140.2)
XYZxyz(9.5142, 15.7405, 4.8219)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D2B #6E2B7D
analogous
#637D2B #3A7D2B #2B7D45
triadic
#3A7D2B #2B3A7D #7D2B3A
tetradic
#3A7D2B #2B637D #6E2B7D #7D452B
square
#3A7D2B #2B637D #6E2B7D #7D452B
split-complementary
#3A7D2B #452B7D #7D2B63
monochromatic
#10220C #254F1B #3A7D2B #4FAB3B #6FC75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7D2B#FFFFFF#000000##FFFFFF
##3A7D2B1.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)
#807221
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#33796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d2b;
/* rgb */ color: rgb(58, 125, 43);
/* oklch */ color: oklch(52.7% 0.135 140.2);
Tailwind
colors: {
  custom: {
    50: '#77a368',
    500: '#3a7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d2b;
$custom-light: #77a368;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d2b",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 109.024,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.13493,
    "h": 140.2
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#3A7D2B
secondary
#9D57AD
accent
#4FD8BF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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