#3A7722#3A7722

#3A7722 is a mid, vivid green. Relative luminance 0.142; OKLCH L 51.0% C 0.134 H 138.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3A7722
RGBrgb(58, 119, 34)
HSLhsl(103, 56%, 30%)
HSVhsv(103, 71%, 47%)
CMYKcmyk(51.3%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.53, -36.17, 39.00)
CIE-LCHlch(44.53, 53.19, 132.85°)
OKLaboklab(50.97% -0.0998 0.089)
OKLCHoklch(50.97% 0.134 138.3)
XYZxyz(8.6302, 14.2081, 3.8007)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7722 #5F2277
analogous
#647722 #3A7722 #227735
triadic
#3A7722 #223A77 #77223A
tetradic
#3A7722 #226477 #5F2277 #773522
square
#3A7722 #226477 #5F2277 #773522
split-complementary
#3A7722 #352277 #772264
monochromatic
#0C1807 #234714 #3A7722 #51A730 #6DCB49

Accessibility & contrast

On white

5.47
#3A7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3A7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7722
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7722#FFFFFF#000000##FFFFFF
##3A77221.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#357366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a7722;
/* rgb */ color: rgb(58, 119, 34);
/* oklch */ color: oklch(51.0% 0.134 138.3);
Tailwind
colors: {
  custom: {
    50: '#769f62',
    500: '#3a7722',
    950: '#000000',
  },
}
SCSS
$custom: #3a7722;
$custom-light: #769f62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7722",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 103.059,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.13375,
    "h": 138.3
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#3A7722
secondary
#8F4BAA
accent
#49DFB5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #3A7722

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

Preview Lab → · Contrast checker → · Palette generator →

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