#3A7B2D#3A7B2D

#3A7B2D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.130 H 140.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A7B2D
RGBrgb(58, 123, 45)
HSLhsl(110, 46%, 33%)
HSVhsv(110, 63%, 48%)
CMYKcmyk(52.8%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.98, -36.75, 35.55)
CIE-LCHlch(45.98, 51.13, 135.95°)
OKLaboklab(52.2% -0.1006 0.0831)
OKLCHoklch(52.2% 0.13 140.5)
XYZxyz(9.3011, 15.2542, 4.9363)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7B2D #6E2D7B
analogous
#617B2D #3A7B2D #2D7B47
triadic
#3A7B2D #2D3A7B #7B2D3A
tetradic
#3A7B2D #2D617B #6E2D7B #7B472D
square
#3A7B2D #2D617B #6E2D7B #7B472D
split-complementary
#3A7B2D #472D7B #7B2D61
monochromatic
#10210C #254E1D #3A7B2D #4FA83D #6FC45E

Accessibility & contrast

On white

5.18
#3A7B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3A7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7B2D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7B2D#FFFFFF#000000##FFFFFF
##3A7B2D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#33776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7b2d;
/* rgb */ color: rgb(58, 123, 45);
/* oklch */ color: oklch(52.2% 0.130 140.5);
Tailwind
colors: {
  custom: {
    50: '#76a269',
    500: '#3a7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #3a7b2d;
$custom-light: #76a269;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7b2d",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 110,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.13047,
    "h": 140.5
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#3A7B2D
secondary
#9D59AB
accent
#52D6C0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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