#3A7D22#3A7D22

#3A7D22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.142 H 138.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A7D22
RGBrgb(58, 125, 34)
HSLhsl(104, 57%, 31%)
HSVhsv(104, 73%, 49%)
CMYKcmyk(53.6%, 0%, 72.8%, 51%)
CIE-LABlab(46.55, -38.68, 41.11)
CIE-LCHlch(46.55, 56.44, 133.25°)
OKLaboklab(52.64% -0.1066 0.0935)
OKLCHoklch(52.64% 0.142 138.8)
XYZxyz(9.3669, 15.6816, 4.0463)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D22 #65227D
analogous
#677D22 #3A7D22 #227D37
triadic
#3A7D22 #223A7D #7D223A
tetradic
#3A7D22 #22677D #65227D #7D3722
square
#3A7D22 #22677D #65227D #7D3722
split-complementary
#3A7D22 #37227D #7D2267
monochromatic
#0D1D08 #244D15 #3A7D22 #50AD2F #6ECE4B

Accessibility & contrast

On white

5.08
#3A7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D22#FFFFFF#000000##FFFFFF
##3A7D221.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d22;
/* rgb */ color: rgb(58, 125, 34);
/* oklch */ color: oklch(52.6% 0.142 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a363',
    500: '#3a7d22',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d22;
$custom-light: #77a363;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d22",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 104.176,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.14175,
    "h": 138.8
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#3A7D22
secondary
#954BB0
accent
#47E0B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #3A7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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